atom.xml feed to html

O

Omaar

Guest
Anyone know how to convert a blogger feed (in the atom xml format) into html?

I want to make blog posts appear on my website, on the index page, dynamically generated.

I can run a perlscript and generate some html, but I'm not sure how to incorporate this into my already coded html. I guess I could generate the entire page with perl, but I don't know how to make this refresh the index page every now and then ... Is there a way of using javascript to call the perl script, and insert this extra html back into the index.html file?

I have found a site that provides a javascript to do this, bu you have to link to their script, you can't incorporate it into your own code:

http://www.globalsyndication.com/rss-to-javascript

Maybe that's the best option.

Also I can't run PHP on my site.

Any suggestions?
 

Rambler

Awanturnik
I use Feedroll, but it's quite limited (eg headlines only), so I'm looking for something better, although you do get quite a bit of control over the stylesheet. Might give Feedsweep a look.
 
O

Omaar

Guest
cheers chaps, feedsweep looks like it could do what I'm looking for, I'll try it out I reckon.
 
O

Omaar

Guest
feedsweep is really nice, I like that it does css, but it also does this annoying html stripping thing

"HTML Stripping - As a convenience to both syndicators and surfers, FeedSweep automatically strips HTML code from all feeds as they are processed. This helps to maintain consistency on sites syndicating content."

which means that any links I post die when transferred to my site!

I'll try feedroll ....
 
O

Omaar

Guest
oh, you can't specify a specific feed with feedroll, only the predefined ones given there.

Back to square one :(
 

Ness Rowlah

Norwegian Wood
anything XML can be converted to HTML using XSL.
If you are of the technical type you should be able to do so - it takes a few hours of
reading and tinkering though.

http://www.webdevelopersjournal.com/articles/xml_to_html.html
http://www.w3schools.com/xml/default.asp
http://www.w3schools.com/xsl/

and there's a very useful article somewhere on the Microsoft site (sorry lost the link)
which explains all this (I'll be back when I found it, it was the best piece I could find
when dabbling with XML/XSL a few months ago).

You could also look at scripts etc for _combining_ Atom feeds, they might do this as well.

(I use Blosxom and roll my own RSS, so I can't help any further).
 
Last edited:
Top