Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2009-10-31 19:21:37

THE BLUE DRAGON
Member
From: Israel
Registered: 2007-11-16
Posts: 637
Website

Help with feeds please.

Hey!
this is my first time using feeds,
I will like to customize the feeds so I install the new plugin – atb_customize_feeds

But I don’t know how to:
1. Change the item date to the modified date and not the real posted date.
2. Delete the item author name or at least make it static as ‘Admin’.
3. Change the item title.
4. How to make the browser rss icon to be available
do I really need to register my feeds for it at “Syndic8” and “Newsisfree”
or I can just insert some code in my header or something please?

Thanks and happy Halloween :)

Offline

#2 2009-10-31 19:42:47

Gocom
Developer Emeritus
From: Helsinki, Finland
Registered: 2006-07-14
Posts: 4,533
Website

Re: Help with feeds please.

Bookmark Textbook’s Tag Reference. Now.

1. Change the item date to the modified date and not the real posted date.

Why?

2. Delete the item author name or at least make it static as ‘Admin’.

By changing author’s name.

3. Change the item title.

By changing article title.

How to make the browser rss icon to be available

You mean subscribe feature that the browser may have? That can be achieve by adding link elements within your webpages’ head tags. Link can be done by using feed_link tag or by just writing it.

do I really need to register my feeds for it at “Syndic8” and “Newsisfree”

Why? You can.

or I can just insert some code in my header or something please?

What? If you want completely customized xml file, you can do it. That is, if the TXP’s system isn’t enough.

Offline

#3 2009-10-31 23:42:10

THE BLUE DRAGON
Member
From: Israel
Registered: 2007-11-16
Posts: 637
Website

Re: Help with feeds please.

Gocom wrote:

1. Change the item date to the modified date and not the real posted date.

Why?

for example if I’m posting now (year 2009) an article from year 2000 it will show up first in the feed
because it’s the last article I really posted.
and that is not good I just post that article to be in my archive and of course I don’t want it in my feeds
so that is stupid that it using the real publish date and not the “fake” posted date.
they are 3 dates: published, posted, and modified, TXP needs to use the posted and not the published.

2. Delete the item author name or at least make it static as ‘Admin’.

By changing author’s name.

really?!
no I’m not going to change all my users names to ‘Admin’ LOL.

3. Change the item title.

By changing article title.

there is a problem when I’m posting an article that has & in the title it’s killing the feed
so I want to use: <txp:rah_replace from="&" to="&amp;"><txp:title /></txp:rah_replace>
and no I’m not going to teach my client to write &amp; instead of &.

How to make the browser rss icon to be available

You mean subscribe feature that the browser may have? That can be achieve by adding link elements within your webpages’ head tags. Link can be done by using feed_link tag or by just writing it.

cool thanks works great! :)

do I really need to register my feeds for it at “Syndic8” and “Newsisfree”

Why? You can.

never mind I was looking in a w3school’s page and didn’t understand what’s going on there,
but now it’s ok just using the <link /> in the head as you mentioned above.

or I can just insert some code in my header or something please?

What? If you want completely customized xml file, you can do it. That is, if the TXP’s system isn’t enough.

Thanks I am going to build my own xml page with your link help :)

Offline

Board footer

Powered by FluxBB