Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#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

#2 2006-02-01 13:25:08

colak
Admin
From: Cyprus
Registered: 2004-11-20
Posts: 9,091
Website GitHub Mastodon Twitter

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.

Offline

#3 2006-02-01 19:57:27

maarten
Member
From: Netherlands
Registered: 2005-02-19
Posts: 130
Website

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

#5 2006-02-02 02:56:31

shafina
Member
From: pj, malaysia
Registered: 2006-01-04
Posts: 17
Website

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

#10 2008-05-10 18:29:02

jaredigital
Member
From: Texas
Registered: 2004-10-26
Posts: 26
Website

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

#11 2008-05-11 21:25:49

hakjoon
Member
From: Arlington, VA
Registered: 2004-07-29
Posts: 1,634
Website

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

#12 2008-05-11 21:39:46

maniqui
Member
From: Buenos Aires, Argentina
Registered: 2004-10-10
Posts: 3,070
Website

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


La música ideas portará y siempre continuará

TXP Builders – finely-crafted code, design and txp

Offline

Board footer

Powered by FluxBB