Main
Index
Search
Posts
Who's
Online
Log
In

Home: Discontinued/Classic Products: Article Manager 1 Add-ons:
Quick RSS question

 

 


Anatole
User

Dec 25, 2005, 2:22 PM

Post #1 of 8 (14947 views)
Shortcut
Quick RSS question Can't Post

Just installed RSS add-on, works like a charm, thanks a lot!

Question: how to get and add <pubDate> tag with current date/time?

I need something similar to: <pubDate>Wed, 29 Jan 2005 19:59:01 +0300</pubDate> to appear in RSS feed. Hope, you can help me.


(This post was edited by Anatole on Dec 25, 2005, 2:23 PM)


ross
Staff / Moderator


Dec 27, 2005, 1:17 PM

Post #2 of 8 (14911 views)
Shortcut
Re: [Anatole] Quick RSS question [In reply to] Can't Post

Hi Anatole.

Thanks for posting!

Just to make sure we are both on the same page here, did you just want the date of when the RSS was last updated? Or were you thinking of having whatever ever date it is when you are looking at the get displayed?

Let me know and we can take a look at the different options Smile.
-----------------------------------------------------------
Cheers,
Ross Fairbairn - Product Specialist
support@interactivetools.com

Hire me!  Save time by getting our experts to help with your project.
Template changes, advanced features, full integration, whatever you
need. Whether you need one hour or fifty, get it done fast with
Priority Consulting: http://www.interactivetools.com/consulting/



Anatole
User

Dec 27, 2005, 2:16 PM

Post #3 of 8 (14909 views)
Shortcut
Re: [ross] Quick RSS question [In reply to] Can't Post

I mean the date when article is published. So, each entry has it's own date. Is it possible?


(This post was edited by Anatole on Dec 27, 2005, 3:06 PM)


ross
Staff / Moderator


Dec 28, 2005, 9:13 AM

Post #4 of 8 (14882 views)
Shortcut
Re: [Anatole] Quick RSS question [In reply to] Can't Post

Hi Anatole.

Thanks for clearing that up Smile.

To have the article’s publish date appear in your feed all you should need to do is add the following tag to each of your template cells:

<pubDate>$art_date$ $art_time$:00 EST</pubDate>

Give that a shot and let me know if it was what you were looking for Smile.
-----------------------------------------------------------
Cheers,
Ross Fairbairn - Product Specialist
support@interactivetools.com

Hire me!  Save time by getting our experts to help with your project.
Template changes, advanced features, full integration, whatever you
need. Whether you need one hour or fifty, get it done fast with
Priority Consulting: http://www.interactivetools.com/consulting/



Anatole
User

Jan 1, 2006, 8:43 AM

Post #5 of 8 (14816 views)
Shortcut
Re: [ross] Quick RSS question [In reply to] Can't Post

Thank you, Ross, it was really helpful Smile


nuggetF5
User

Feb 27, 2007, 3:19 PM

Post #6 of 8 (13909 views)
Shortcut
Re: [ross] Quick RSS question [In reply to] Can't Post

Ross, I've altered my config.ini as follows so that I get a date format I prefer to add to articles, ala:

February 27, 2007 - 7:15 am

config.ini set to:
datetime_format = %B %o, %Y - %l:%M %P

RSS needs a specific format for validating RSS. Is there a way to add another placeholder so the appropriate pubDate can be used to serve RSS? I can cook up the format if I can get the placeholder. Like the individual above, I'd be serving the date of each individual publication. Thanks.


ross
Staff / Moderator


Feb 28, 2007, 8:22 AM

Post #7 of 8 (13884 views)
Shortcut
Re: [nuggetF5] Quick RSS question [In reply to] Can't Post

Hi there.

Thanks for posting!

There are actually a couple different placeholders that you can use for date and you can customize the output using the config.ini file again.

Basically, I am thinking you could just use one placeholder for the date format on the rest of your published pages and the other specifically for your RSS feed. In your config.ini file, go to this line:

date_format = %b %e, %Y

and change that one to be how you want the format in your RSS feed. Then, on your RSS template, use the $art_date$ placeholder and that should be it.

Does this all make sense? Give it a shot and let me know what you think Smile.
-----------------------------------------------------------
Cheers,
Ross Fairbairn - Product Specialist
support@interactivetools.com

Hire me!  Save time by getting our experts to help with your project.
Template changes, advanced features, full integration, whatever you
need. Whether you need one hour or fifty, get it done fast with
Priority Consulting: http://www.interactivetools.com/consulting/



nuggetF5
User

Feb 28, 2007, 9:13 AM

Post #8 of 8 (13882 views)
Shortcut
Re: [ross] Quick RSS question [In reply to] Can't Post

Makes sense, and worked perfectly. Thank you.