I have three things that I'm trying to fix with my RSS feed, but haven't been able to figure out. I'm running 3.12, but upgraded just the rssfeed.php file to the 3.16 version.
1) I'd like the headlines to link to my permalink pages, rather than to external pages. I tried editing this line: else $linkstuff = $settings->dirurl .'/link.php?action=detail&id='. $thisone->id; but it is not working. Suggestions?
2) I'd like to post the figures in my RSS feed if possible. Currently, I'm just seeing the code (example): <img src="http://www.elementlist.com/images/darwin.gif" align="right" alt="" height="250" width="179" border="0"> in my feed output, not the actual image. How can I get the image to show up?
3) The html links internal to the descriptions aren't working correctly. I'm just seeing the code, not the hyperlinked text (example): <a href="http://www.telegraph.co.uk/news/main.jhtml?xml=/news/2005/11/20/wdarwin20.xml&sSheet=/portal/2005/11/20/ixportal.html">Telegraph report,</a>
Any tips on how to fix the above three things?
My site is here: http://www.elementlist.com/lnx/index.php And my rss link is here: feed://www.elementlist.com/lnx/rssfeed.php?type=links&number=5&field=time&ascdesc=descending&condition=catid=56
Comments on RSS Feed - images and links
Experienced
Usergroup: Customer
Joined: Jul 28, 2005
Total Topics: 30
Total Comments: 55
Hi,
I have three things that I'm trying to fix with my RSS feed, but haven't been able to figure out. I'm running 3.12, but upgraded just the rssfeed.php file to the 3.16 version.
1) I'd like the headlines to link to my permalink pages, rather than to external pages.
I tried editing this line:
else $linkstuff = $settings->dirurl .'/link.php?action=detail&id='. $thisone->id;
but it is not working. Suggestions?
2) I'd like to post the figures in my RSS feed if possible. Currently, I'm just seeing the code (example):
<img src="http://www.elementlist.com/images/darwin.gif" align="right" alt="" height="250" width="179" border="0">
in my feed output, not the actual image. How can I get the image to show up?
3) The html links internal to the descriptions aren't working correctly. I'm just seeing the code, not the hyperlinked text (example):
<a href="http://www.telegraph.co.uk/news/main.jhtml?xml=/news/2005/11/20/wdarwin20.xml&sSheet=/portal/2005/11/20/ixportal.html">Telegraph report,</a>
Any tips on how to fix the above three things?
My site is here:
http://www.elementlist.com/lnx/index.php
And my rss link is here:
feed://www.elementlist.com/lnx/rssfeed.php?type=links&number=5&field=time&ascdesc=descending&condition=catid=56
Thanks.
developer
Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California
Total Topics: 61
Total Comments: 7868
1) See https://www.webmastersite.net/forums/thread/5834
2 and 3) HTML isn't good practice in RSS feeds, as many readers don't handle it.