HI,
I want to use the FeedBurner url for my Forum Posts. How can I edit the URL of the RSS icon.
Open:
Themes / default / index.template.php (default may be something else if you're not using the default theme!)
Find:
// If RSS feeds are enabled, advertise the presence of one. if (!empty($modSettings['xmlnews_enable'])) echo ' <link rel="alternate" type="application/rss+xml" title="', $context['forum_name'], ' - RSS" href="', $scripturl, '?type=rss;action=.xml" />';
Change to:
// If RSS feeds are enabled, advertise the presence of one. if (!empty($modSettings['xmlnews_enable'])) echo ' <link rel="alternate" type="application/rss+xml" title="http://www.feedburner.com/url" />';
Where have I gone wrong?
// If RSS feeds are enabled, advertise the presence of one. if (!empty($modSettings['xmlnews_enable'])) echo ' <link rel="alternate" type="application/rss+xml" title="http://www.feeds.feedburner.com/Gearpedia" />';
Thanks
I still see this in the source:
<link rel="alternate" type="application/rss+xml" title="Gearpedia - RSS" href="http://www.gearpedia.net/index.php?type=rss;action=.xml" />
Did you modify the code in index.template.php for all the themes on your site and then upload the file with FTP?
I put everything back last night when I didnt work.
I only modded the default template as its the only one used at my site.
The line of code you reference from my site is the feed that feedburner (and the rest of the world) uses to to get the content in the first place....right? Feedburner is receiving the feed and converting it fine. Its getting the link to work on my site thats the problem (in my mind)
http://feeds.feedburner.com/Gearpedia
Heres what I tried and failed at tonight
// If RSS feeds are enabled, advertise the presence of one. if (!empty($modSettings['xmlnews_enable'])) echo ' <link rel="alternate" type="application/rss+xml" title="http://feeds.feedburner.com/Gearpedia?format=xml" />';
Thanks for responding
Drew
I got it. Heres what worked
<link rel="alternate" type="application/rss+xml" title="Gearpedia - RSS" href="http://feeds.feedburner.com/Gearpedia?format=xml" />
Glad you got it working! :)