Creating an RSS feed in Ariadne

7 views
Skip to first unread message

Michele

unread,
May 23, 2012, 8:16:20 AM5/23/12
to Ariadne
Hi,

I would like to create an RSS feed on my ariadne website.

Reading the documentation I create this simple example page with the
aim to understand how ar/xml works.

testpage: http://www.sns.it/rss

Browsing the page with Firefox and Opera I receive the window to
subscribe the feed.
When I try to browse the page with Chrome (on macosx) it show me html
tag and does not recognize xml. It could be a header problem. Someone
can help me?

regards,
Michele

Michele

unread,
May 24, 2012, 10:42:00 AM5/24/12
to Ariadne
Solved!!

It depends from the header so I simply use
header('Content-Type: text/xml');
in my pinp code.

Thank you.
Michele
Reply all
Reply to author
Forward
0 new messages