WebmasterSite.net: PHP scripts to enable your creativity
WSN Links PHP Directory Software
PHP Scripts Webmaster Links Support Forums


RSS Articles with URL

Version: 4.1.30
printPrint


RSS Articles with URL
menace
Beginner

Usergroup: Customer
Joined: Jan 29, 2005
Total Topics: 4
Total Posts: 8
Posted 04/11/08 - 04:25 PM:
quote post
#1
How could i put under the articles that are RSS feed items the URL of the site the feed comes from or better yet the URL of the original article, for example the <link> or <guid>?
menace
Beginner

Usergroup: Customer
Joined: Jan 29, 2005
Total Topics: 4
Total Posts: 8
Posted 04/11/08 - 05:45 PM:
quote post
#2
Oh & how would i change timezone from CDT to GMT in the rssfeed.php ?
Paul
Administrator
Avatar

Usergroup: Administrator
Joined: Dec 21, 2001
Location: Northern California
Total Topics: 49
Total Posts: 5539
Posted 04/13/08 - 01:30 AM:
quote post
#3
The RSS feed already has the URL of the article (of course), so I can't guess what you're trying to change. As for the url of the site the feed comes from, presumably that would be the website you're on, which you should know the URL of...

You are talking about rssfeed.php, not about RSS submissions?

The timezone used will be that of the user. If the feed is being accessed as a guest (as by default in a normal reader), it'll be the default timezone you've selected at Admin -> Settings -> System.

menace
Beginner

Usergroup: Customer
Joined: Jan 29, 2005
Total Topics: 4
Total Posts: 8
Posted 04/13/08 - 05:52 AM:
quote post
#4
Hi thanks for the reply, i have sorted the timezone out as it now correctly displays the correct timezone.

I mean i would like the URL to the article the <link> or <guid> to be displayed in articles, when those articles are from RSS submissions.
menace
Beginner

Usergroup: Customer
Joined: Jan 29, 2005
Total Topics: 4
Total Posts: 8
Posted 04/13/08 - 06:10 AM:
quote post
#5
Oh i forgot to add;

The reason why i want the URL is so that the story can be sourced 'properly' & because some feeds only give a limited amount of content, say for the description which would leave people wanting more but unable to get more.

In the WSNKB demo how did you manage to get the category url's with a trailing slash?nod

Edited by menace on 04/13/08 - 06:15 AM
Paul
Administrator
Avatar

Usergroup: Administrator
Joined: Dec 21, 2001
Location: Northern California
Total Topics: 49
Total Posts: 5539
Posted 04/14/08 - 11:09 AM:
quote post
#6
In an RSS feed, the url goes in the <link> tag. That's where it is already. I don't see why you'd want it any other tag, but you can use {ARTICLEURL} to insert it in the RSS feed template (if you want to keep feeds available for comments etc too, not just articles, then use a custom template for that). Again though, it's pointless to put the article link in the description when it's already linked in the normal way in which each reader links.

In the WSNKB demo how did you manage to get the category url's with a trailing slash?

Those are the default settings, except for URL rewriting being turned on (but none of the details of it changed) at Admin Panel -> Settings -> SEO.
Search thread for
Download thread as


You don't have permission to post.

Please login or register.

   
 
© 2008 Paul Knierim. All rights reserved.