Everybody Staze...

Nobody leavz...

  • Home
  • About Me
    • LinkedIn
    • Lab
  • Contact
  • Links
  • Reviews
  • Sitemap
  • Weather
You are here: Home / Archives for Validator

Fixing RSS2 in Joomla 1.5.20, and Kunena 1.6.3

2012/10/16 By staze

I realize those versions are extremely old, but the last day or so I have been working with Wicked Edge‘s Web admin with fixing the RSS feed from their site. Mail and Outlook both saw everything fine, but the W3C RSS validator knew it was broken, and Google Reader would produce very odd results, mainly by reading the content, but the URLs would be incorrect.

The issue boiled down to Joomla 1.5.20 not encoding ampersands in the RSS section. So instead of:

http://www.wickededgeusa.com/index.php?option=com_kunena&func=view&catid=3&id=5979&Itemid=63

You’d get (note the missing &’s):

http://www.wickededgeusa.com/index.php?option=com_kunenafunc=viewcatid=3id=5979Itemid=63

[Read more…]

Filed Under: Miscellany Tagged With: Joomla 1.5.20, Kunena 1.6.3, RSS, Validator, XML

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

Weather

Categories / Archives

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

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