Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#13 2004-12-21 14:43:47

wilshire
Plugin Author
From: Akron, Ohio
Registered: 2004-08-27
Posts: 656
Website

Re: [plugin] [ORPHAN] rss_suparchive_bycat - related articles by category

ali – Thanks! Much of this is based on your ideas so thanks to you too.

leeopold – Unfortunately there isn’t a way now to limit the list by categories but its something that I may add in the future. The only way to narrow the listing by categories now is by using the current articles categories. This is done automatically if you use the useartcat1, useartcat2 or useartcats options.

jheyer – Yes, you can limit the number of entries returned exactly as you noted.

Last edited by wilshire (2004-12-21 14:54:41)

Offline

#14 2005-01-14 00:12:54

alice_c
Plugin Author
From: Karlsruhe, Germany
Registered: 2004-07-03
Posts: 33

Re: [plugin] [ORPHAN] rss_suparchive_bycat - related articles by category

Does rss_suparchive_bycat works together with zem_rewrite ? This would be great, I could make a perfect navigation, as I use the section for a bilingual website:

<pre>
- /de/
———/Cat1/
——————/arcticle1
——————/arcticle2
———/Cat2/
———/Cat3/
———/Cat4/

- /en/
———/Cat1/
——————/arcticle3
——————/arcticle4
———/Cat2/
———/Cat3/
———/Cat4/
</pre>

Last edited by alice_c (2005-01-14 00:15:36)

Offline

#15 2005-01-14 01:39:16

wilshire
Plugin Author
From: Akron, Ohio
Registered: 2004-08-27
Posts: 656
Website

Re: [plugin] [ORPHAN] rss_suparchive_bycat - related articles by category

As of now no. If you’re comfortable with PHP it probably wouldn’t be too bad to add support for it. I can see adding it at some point, just don’t know when.

Offline

#16 2005-04-25 04:31:09

rbl
Member
From: Portugal
Registered: 2004-02-25
Posts: 40

Re: [plugin] [ORPHAN] rss_suparchive_bycat - related articles by category

Wilshire, there’s a typo that made me insane for the last couple of hours.
In the plugin help says:
Example: sections=

Offline

#17 2005-04-25 11:58:26

wilshire
Plugin Author
From: Akron, Ohio
Registered: 2004-08-27
Posts: 656
Website

Re: [plugin] [ORPHAN] rss_suparchive_bycat - related articles by category

rbl – Sorry, someone else pointed this out a couple weeks ago and its been updated for the next version.

Offline

#18 2005-04-25 18:26:31

rbl
Member
From: Portugal
Registered: 2004-02-25
Posts: 40

Re: [plugin] [ORPHAN] rss_suparchive_bycat - related articles by category

No prob. Just thought I was going crazy for a while. =)
Any idea on next version’s ETA? I’ve been doing some changes to this function so that it fetches related articles by keyword and if you are releasing it in a nearby future, I will halt my current work and wait for the next version.

Offline

#19 2005-04-25 19:29:41

wilshire
Plugin Author
From: Akron, Ohio
Registered: 2004-08-27
Posts: 656
Website

Re: [plugin] [ORPHAN] rss_suparchive_bycat - related articles by category

Version 0.15 is already in the works and will be released on or about May 1st after my CSS Reboot is complete. The rss_suparchive_bycat will have quite a bit of changes in it.

If you want to email me your changes maybe I can incorporate them.

Offline

#20 2005-04-25 20:11:34

Jeremie
Member
From: Provence, France
Registered: 2004-08-11
Posts: 1,578
Website

Re: [plugin] [ORPHAN] rss_suparchive_bycat - related articles by category

May 1st ? That’s lonnnnnnnnng…

:-D

Thanks Wilshire !

Offline

#21 2005-04-26 17:08:44

rbl
Member
From: Portugal
Registered: 2004-02-25
Posts: 40

Re: [plugin] [ORPHAN] rss_suparchive_bycat - related articles by category

Humm.. they are quite simple and probably would not fit anyone else’s case.
I added a keywords=“0/1” option to search for articles on another section, where the keyword used in those articles, match the current section name. It’s working partially but I’m having problems with the (unchanged) plugin so I don’t really know.

These problems with a fresh installation are strange. Superarchive_bycat doesn’t have results in some categories although there are articles that match the criteria.

In Section A I’m calling articles from Section B where their second category option match the current article first category option, using the following tag:
txp:rss_suparchive_bycat section=“sectionb” timeframe=“ALL” showheader=“1” headerlabel=“Related articles” linktosection=“sectionb” useartcat2=“1” useartcats=“1” showcatcount=“0” showcats=“0”

First problem is not getting results when there are plenty of articles that match the criteria. And problem #2, is that when there are no results, there’s an extra closing div tag that breaks my current layout.

Offline

#22 2005-04-26 17:24:43

wilshire
Plugin Author
From: Akron, Ohio
Registered: 2004-08-27
Posts: 656
Website

Re: [plugin] [ORPHAN] rss_suparchive_bycat - related articles by category

rbl – My guess is that you’re having a problem with the timeframe. There was a bug in the regular suparchive tag regarding the use of the ALL timeframe and I think I fixed it there but not in the bycat version. Do the missing articles have a future posted date by any chance?

My only other suggestion is to wait on it for a few days. I’ve made a bunch of changes so you might find that it works when you get the new version.

Offline

#23 2005-04-27 12:12:12

jakob
Admin
From: Germany
Registered: 2005-01-20
Posts: 4,726
Website

Re: [plugin] [ORPHAN] rss_suparchive_bycat - related articles by category

my apologies, made some comments regarding “ALL” on the main thread without seeing that there is a separate thread for bycat. I see now, that you’re aware of that.


TXP Builders – finely-crafted code, design and txp

Offline

#24 2005-04-27 12:30:43

wilshire
Plugin Author
From: Akron, Ohio
Registered: 2004-08-27
Posts: 656
Website

Re: [plugin] [ORPHAN] rss_suparchive_bycat - related articles by category

No problem. I saw your post in the other thread first and replied there.

Offline

Board footer

Powered by FluxBB