View Single Post
Posts: 299 | Thanked: 241 times | Joined on Oct 2009 @ Singapore
#258
Originally Posted by magnuslu View Post
The problem is that all HTML based rss readers I know of would do 'server side includes'. As the app doesn't have any 'server side', I have to do a 'client side' include instead. I've found this link and am working into including that into the app.
Ok, I'm giving up on this one (for now...). I'll have to learn more about JavaScript and CSS and how it works in the webkit browser of the device to get this to work. I'll attach my attempt so far (renamed to .txt to be able to upload it here) in case someone can find the obvious flaws. It is not properly rendered in IE and, critically, in the app.

What it has is one CSS style, one JavaScript function to load the XML and then a call to the function to render the whole thing, however it all looks awful! I'm sure it's mainly because of my extremely limited CSS knowledge...
Attached Files
File Type: txt rss.html.txt (3.2 KB, 110 views)
__________________
My Maemo Apps:
QTeachMe
- Flashcard app
MobiTifo (which was formerly known as QSportsEvent) - Sports leagues tracking (mainly football).