Contact Lifestream
        

Lifestream: Upgraded to Wordpress 2.5. Better late than never.




RSS Feeds and WAP

Finally figured out how to output the Blog via RSS to WAP / WML. RSS 0.91 / 2.0 is supported out of the box by Nucleus and there is a valid RSS 1.0 add-on that you can get from the official support forum. So the main problem was to convert the XML based RSS output to WML.
Luckily, after much googling and anguish I found RSS Manip PHP by Cal Henderson. A simple yet powerful script that mangles RSS feeds into HTML, HDML, or WML documents.

Go ahead and see if it works for you:
wap.battleangel.org

And that means that the wap file storage is now at:
wapfiles.battleangel.org

Problems of sorts:

- Out of the two cell phones I’ve tried it on, neither worked to begin with. My Ericsson 310 did comply after I cut down on the number of headlines from 10 to 5. Apparently the amount of data was too great. RSS is a little stupid that way. I need to rework the script a bit and see if I can remedy this. I’d estimate that it has a 50/50 chance of working for other people at the moment. What I really should do is to split the WML “cards” into several “decks”. Or maybe I should take the code that I do have and pull the information out of the database directly so that people will have the option to read entire articles if they want to.

- I had to turn off the “Convert straight quotes to curly ones” in NP_FancyText.

- Would be fun to be able to choose from other RSS feeds as well. Personally I’m not that interested in seeing if I have updated the site ;-) Also, I should format the output better. Maybe by adding the post time in front of every post.