Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2009-06-02 19:28:31

alanfluff
Member
From: Ottawa, Canada
Registered: 2008-09-15
Posts: 222
Website

Please, how do I get a feed from any/all articles?

Hi TXPers,

I’ve tried hard to solve this before troubling fellow forum people but cannot work this out.

I am about to deploy a site for a client.

They want me to check the content published by their people (just to look for bad format, poor copy, etc).

Unless I’m reading it wrong, it seems <txp:feed_link> is what I need, but, it needs me to code in each section I want it to monitor. I can do that, but I would love to have a way to publish a global feed that I could follow that would effectively mean I would see whenever any article was created or edited, even if the client has added a new section themselves.

Is there an easy way to do this.

Thanks in advance for any comments. Cheers, -Alan


At LAST I’ve cheerfully donated to the core devs at #TXP. I only wish I were able to give more. Thanks to the devs and ALL fellow TXPers. -A

Offline

#2 2009-06-02 20:24:41

thebombsite
Archived Plugin Author
From: Exmouth, England
Registered: 2004-08-24
Posts: 3,251
Website

Re: Please, how do I get a feed from any/all articles?

You could try hard-coding it instead of using the TXP tag.

<link rel="alternate" type="application/atom+xml" title="Full Feed" href="<txp:site_url />atom/" />

or

<a rel="bookmark" href="<txp:site_url />atom/">Full Feed</a>

They both work for me.


Stuart

In a Time of Universal Deceit
Telling the Truth is Revolutionary.

Offline

#3 2009-06-02 20:41:49

alanfluff
Member
From: Ottawa, Canada
Registered: 2008-09-15
Posts: 222
Website

Re: Please, how do I get a feed from any/all articles?

Tks Stuart.

‘scuse my ignorance, would that pick up on content changes across all sections, even of only one section was set to output content on the Home/Root?


At LAST I’ve cheerfully donated to the core devs at #TXP. I only wish I were able to give more. Thanks to the devs and ALL fellow TXPers. -A

Offline

#4 2009-06-02 20:47:28

thebombsite
Archived Plugin Author
From: Exmouth, England
Registered: 2004-08-24
Posts: 3,251
Website

Re: Please, how do I get a feed from any/all articles?

They both pick up from all sections where I’m using them. Try popping the “a” link into the sidebar somewhere and see what you get when you click on it. Remember that the feed will obey whatever limit you have set in “Preferences” as far as the number of articles displayed is concerned.


Stuart

In a Time of Universal Deceit
Telling the Truth is Revolutionary.

Offline

#5 2009-06-02 20:53:34

alanfluff
Member
From: Ottawa, Canada
Registered: 2008-09-15
Posts: 222
Website

Re: Please, how do I get a feed from any/all articles?

Brill’!

Thanks. I had tired a test with the normal setup and it failed, I will go and do as you say, I should have already (lazyWebMe, sorry).

Cheers! -Alan


At LAST I’ve cheerfully donated to the core devs at #TXP. I only wish I were able to give more. Thanks to the devs and ALL fellow TXPers. -A

Offline

#6 2009-06-02 21:02:37

alanfluff
Member
From: Ottawa, Canada
Registered: 2008-09-15
Posts: 222
Website

Re: Please, how do I get a feed from any/all articles?

Perfect! Works a treat. Thanks Stuart >^_^<


At LAST I’ve cheerfully donated to the core devs at #TXP. I only wish I were able to give more. Thanks to the devs and ALL fellow TXPers. -A

Offline

#7 2009-06-02 23:05:08

thebombsite
Archived Plugin Author
From: Exmouth, England
Registered: 2004-08-24
Posts: 3,251
Website

Re: Please, how do I get a feed from any/all articles?

No problem. :)


Stuart

In a Time of Universal Deceit
Telling the Truth is Revolutionary.

Offline

#8 2009-06-04 21:17:18

alanfluff
Member
From: Ottawa, Canada
Registered: 2008-09-15
Posts: 222
Website

Re: Please, how do I get a feed from any/all articles?

O_o

Sorry to come back here and ask another question that I am sure I ought to be able to solve (but have tried and can’t).

I have just now tested the for the case where an Article is edited (I’m guessing the RSS mechanism is designed to publish an update when an Article is added as opposed to edited). Is there a way for me to see whenever a change is made to a TXP install (new Article or edited Article) via RSS? I’ve looked in my book, the docs and for plugins that might do this and failed.

Thanks in advance for any comment. Cheers, -Alan


At LAST I’ve cheerfully donated to the core devs at #TXP. I only wish I were able to give more. Thanks to the devs and ALL fellow TXPers. -A

Offline

Board footer

Powered by FluxBB