Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
#1 2006-02-01 03:20:23
- nardo
- Member
- From: tuvalahiti
- Registered: 2004-04-22
- Posts: 743
get an article image appearing in the rss/atom feeds?
seems like an article image doesn’t appear within the body as built for the rss/atom feeds
as the article image is (by its name) an integral part of an article, it probably should… I haven’t thought this through, just wanted to bring up the point
Offline
Re: get an article image appearing in the rss/atom feeds?
You can manually place the img tag in the excerpts and the image should appear in the feeds
Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.
Online
Re: get an article image appearing in the rss/atom feeds?
It also depends on the newsreader you’re using. I’ve tried a few but only FeedDemon shows my article images.
Offline
#4 2006-02-01 22:07:02
- nardo
- Member
- From: tuvalahiti
- Registered: 2004-04-22
- Posts: 743
Re: get an article image appearing in the rss/atom feeds?
maarten, my experience is with Thunderbird email client and with feeds run thru Feedburner for Planet installations – I didn’t know that some aggregators showed the article image, that’s interesting!
colak, you’re right – but with sites with multiple contributors, and where the focus is images, I found it easier to explain upm_img_popper and inserting multiple images as ‘article images’, rather than seeing tags in the body – the workaround might be necessary tho to get feeds populated
Offline
Re: get an article image appearing in the rss/atom feeds?
oh! even though i have not tried this yet (or emailed jacob to thank him) because i still have other issues to work on before tackling the feeds, here’s what could help:
To display images in feeds, I’ve hacked atom.php and rss.php. I’ve posted the relevant snippets of
my modified versions here: http://textsnippets.com/tags/photoblogging
i used to insert images tags into the article body myself but it’s just not viable(?) anymore for a photoblog i’m redoing.
Offline
#6 2006-02-02 03:45:43
- nardo
- Member
- From: tuvalahiti
- Registered: 2004-04-22
- Posts: 743
Re: get an article image appearing in the rss/atom feeds?
ta!
Offline
#7 2006-02-02 04:03:27
- Andrew
- Plugin Author
- Registered: 2004-02-23
- Posts: 730
Re: get an article image appearing in the rss/atom feeds?
One more thing, make sure you are using an absolute url to the image; the feed won’t validate and may not display the image if you use a relative path.
Offline
#8 2006-10-13 21:18:56
- lisionosk
- Member
- From: Switzerland
- Registered: 2006-02-10
- Posts: 99
Re: get an article image appearing in the rss/atom feeds?
Is there a way to automatically insert every article image with the whole text entry in the atom/rss feed, without having to paste anything in the excerpt field ?
Offline
#9 2006-10-13 21:34:23
- lisionosk
- Member
- From: Switzerland
- Registered: 2006-02-10
- Posts: 99
Re: get an article image appearing in the rss/atom feeds?
shafina wrote:
To display images in feeds, I’ve hacked atom.php and rss.php. I’ve posted the relevant snippets of
my modified versions here: http://textsnippets.com/tags/photoblogging
I’ve inserted the code snippets and changed the section name. It’s great, the images finally do show up!
But is there a way for both the article image and whole text entry to be included in the feed ?
Last edited by lisionosk (2006-10-13 21:37:31)
Offline
Re: get an article image appearing in the rss/atom feeds?
Has anyone updated this code snippet for v.4.0.6? The instructions no longer make sense due to changes to the rss.php file.
Offline
Re: get an article image appearing in the rss/atom feeds?
Check out this thread it has a plugin that does this using the plugin system so no hacking is needed plus some followup to allow even more feed customization.
Shoving is the answer – pusher robot
Offline
Re: get an article image appearing in the rss/atom feeds?
Also there is a new plug-in by juanjonavarro: http://forum.textpattern.com/viewtopic.php?pid=178402#p178402
Offline