Webmastersite.net
Register Log In

RSS Feeds & Images

Comments on RSS Feeds & Images

Paul Grego
Member

Usergroup: Customer
Joined: Jan 20, 2006

Total Topics: 11
Total Comments: 26
Posted May 14, 2008 - 1:38 AM:

Hi,

Is it possible to have the image (thumbs) and date (when posted)
show up when I pull my gallery's rss feed to show on a different
part of my site. I'm currently pulling the feed to show up on my
sites main page but it is only showing the title/link and description
of the feeds items.

Thanks,

Paul
Paul
developer

Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California

Total Topics: 61
Total Comments: 7868
Paul
Posted May 14, 2008 - 5:02 PM:

These days you can use a custom template (or the default RSS template if you're only doing one sort of feed) and type {IMAGETHUMBURL} for the thumbnail URL, and {IMAGEDATE} for the date. I don't know if 2.3.7 had RSS templates though.

There's also the javascript export, which can display anything without having to write an RSS parser for it.
Paul Grego
Member

Usergroup: Customer
Joined: Jan 20, 2006

Total Topics: 11
Total Comments: 26
Posted May 15, 2008 - 9:15 PM:

Hi Paul,

I downloaded the latest version and updated the rssfeed.tpl and rss.css
but it still isn't doing what I would like. I don't think I explained it
properly so here is a link to what I am wanting:

http://www.wafll.com/carp/carptester.html

The first five feeds are coming from another source and included in
the feed is an image and a datestamp (I have it set up so it shows
in hours/minutes when it was published) I am wanting to know what I
need to do if possible to get my own gallery's feed to do the same.
The bottom five are feeds from my gallery, I used this address:
http://www.wafll.com/wafll-gallery/rssfeed.php

Thanks for all your help,

Paul




Paul
developer

Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California

Total Topics: 61
Total Comments: 7868
Paul
Posted May 16, 2008 - 4:00 PM:

<img> isn't an RSS field, is it? You can't add fields arbitrarily, it's not free-form XML. I'd presume the image goes inside the <description> field. You can't write HTML in RSS either though, you have to use & l t ; etc and hope the reader translates it or use CDATA... I'll have a try at it when I have a chance in a few days.

Edit: I see WSN Gallery's RSS includes images by default, using the media:content field: http://www.webmastersite.net/screenshots/675.jpg . Are you sure you need to do anything besides change that from the full size to thumbnail?
Paul Grego
Member

Usergroup: Customer
Joined: Jan 20, 2006

Total Topics: 11
Total Comments: 26
Posted May 16, 2008 - 10:35 PM:

I'm going wrong somewhere.
I use an aggregator on a page of my site to make it
possible for viewers to read rss feeds. I get these feeds from various sources as
well as the rss feed from my gallery. The gallery feed works fine but I was trying
to get an image show up as well as the description and title/link like the example
above.

Thanks

Paul

Paul
developer

Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California

Total Topics: 61
Total Comments: 7868
Paul
Posted May 17, 2008 - 10:14 AM:

Somehow you're not getting conditionals parsed. The only way I've seen that happen is if you don't have output buffering on the server. I haven't seen a PHP install without output buffering in ages though. Are you on PHP 4?
Paul Grego
Member

Usergroup: Customer
Joined: Jan 20, 2006

Total Topics: 11
Total Comments: 26
Posted May 18, 2008 - 8:35 AM:

Hi Paul,

I have php version 5.2.6.

The aggregator script I use says it is possible to show images if the feed
source supplies them (like in the example above) so it is working to some
degree or at least for that feed, it's just that I am having problems getting
it to work for my gallery feed. I'm at a loss now why the images aren't showing,
since you said the gallery rss is already set up to show images by default.
I initially thought that the gallery script wasn't set up to show images (like
some other feed sources) hence my question in the first post.

I am just wanting a list of 'latest images' showing up on another part of my site
which isn't part of the gallery. I can look into the JavaScript Export option for
this if I can't get the rss to show images.

Thanks,

Paul
Paul
developer

Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California

Total Topics: 61
Total Comments: 7868
Paul
Posted May 21, 2008 - 7:54 PM:

The feed does supply them.

At any rate, http://www.wafll.com/wafll-gallery/rssfeed.php is completely broken. Almost nothing parsed. You must not be using the same files as are being distributed, or you have some sort of configuration which I'm not going to be able to guess without seeing it.

scripts.webmastersite.net/w...dex.php?section=inspection
Search thread for
Download thread as
  • 0/5
  • 1
  • 2
  • 3
  • 4
  • 5



Sorry, you don't have permission to post posts. Log in, or register if you haven't yet.