Everybody Staze...

Nobody leavz...

  • Home
  • About Me
    • LinkedIn
    • Lab
  • Contact
  • Links
  • Reviews
  • Sitemap
  • Weather

Mobile Theme

2011/03/17 By staze

If you visit this site on a mobile device, you probably have just noticed that it looks a lot different now. This is thanks to the “WordPress Mobile Edition” plugin and theme from Alex King’s “Crowd Favorite”. Alas, install wasn’t as easy as it could be since the version listed on the WordPress site is old (non-WP3 compatible), and the new version has to be grabbed from svn.

All and all, it’s pretty easy.

Just CD into your wp-content/plugins directory, and do

svn co http://svn.wp-plugins.org/wordpress-mobile-edition/branches/wp3.0/ wordpress-mobile-edition

then go into WP, and enable the plugin.

You should then be mostly good to go. The only issue I have is the theme is really not up to WP3 spec… including having the wrong code for the “title” of the site for WP3, and especially using Yoast’s WordPress SEO plugin.

[Read more…]

Filed Under: Miscellany Tagged With: iOS, Mobile, Theme

RHEL 6 genkey

2011/03/07 By staze

genkey in RHEL 6 seems to be broken, or at least it is in vSphere. Generating an SSL key takes forever, and then it fails at the end of the process with a non-descript error.

The fix, after futzing for a bit was to run it with the “–test” option. When run that way, it doesn’t try to use the kernel’s random number generator, but instead uses random keyboard input to generate the randomness for the key.

Looking online for info with regards to this turned up nothing, so I thought I would post the solution here. Good luck!

UPDATE:So after receiving a signed cert back from ipSCA using a CSR generated with the above process, I found the CRT doesn’t work. I don’t know if this is because of the process, or whether ipSCA made a mistake in creating the CRT. I have instead generated the key and csr manually using the openssl utility and submitted that CSR to ipSCA. We will see if they send me back a valid CRT. Will update again once I know.

Filed Under: Sys Admin Tagged With: crypto-utils, genkey, RHEL 6, SSL

Facebook’s crappy RSS/Atom Feed

2011/03/03 By staze

We are building a new website at work using Drupal 7, and one of the requirements is integration of work’s Facebook and Twitter streams. The easiest way to do this, of course, is with the Drupal Aggregator and the RSS/Atom feeds both Facebook and Twitter provide.

The problem is, while Twitter’s RSS/Atom feed is standards compliant, Facebook’s is not, by any stretch. The main problem for us being, Facebook provides relative URLs linking to posts rather than Absolute URLs, as required by the RSS standard. The relevant part being here:

RSS places restrictions on the first non-whitespace characters of the data in <link> and <url> elements. The data in these elements must begin with an IANA-registered URI scheme, such as http://, https://, news://, mailto: and ftp://. Prior to RSS 2.0, the specification only allowed http:// and ftp://, however, in practice other URI schemes were in use by content developers and supported by aggregators. Aggregators may have limits on the URI schemes they support. Content developers should not assume that all aggregators support all schemes.

Others have also had this problem (the problem being URLs that should be “http://www.facebook.com/USER/post/xxxxxxx” turn into “http://www.mysite.com/USER/post/xxxxxxx”), and rather than resign to the fact that it’s just not going to work, I decided to spend some time to actually make it work for me.

[Read more…]

Filed Under: Sys Admin Tagged With: Atom, Facebook, RSS, Twitter, Validator

« Previous Page
Next Page »

Weather

Categories / Archives

  • Apple
  • Coding
  • Electronics
  • Energy
  • Home Ownership
  • Miscellany
  • Politics
  • Prius
  • Sys Admin
  • Travel
  • Uncategorized
  • Work
  • April 2026
  • August 2025
  • April 2025
  • January 2024
  • February 2021
  • July 2020
  • January 2020
  • April 2019
  • March 2018
  • February 2018
  • June 2017
  • February 2017

Copyright © 2026 · Staze On Genesis Framework · WordPress · Log in