Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2004-12-09 16:34:19

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

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

Although this is now part of the standard rss_suparchive download I’m kicking off a separate thread for it.

rss_suparchive_bycat will generate an article listing in the form of an unordered list and group them by category and optionally by section within each category. Through the use of the mdn_count plugin, the total number of articles in each category and/or section can also be displayed. It was initially developed for use on the Textpattern Resources category archive and you can see it in use there.

This listing also solves a few of the problems that have been noted with listing related articles. Now, as long as there is an article in the page scope, the related articles will be displayed. You can filter by category1, category2, or both depending on the option you specify. You can see this in use on the menu of an article page in the “also | see” menu on wilshire|one.

As always you can find updated documentation here

Examples Here

Download Here

Offline

#2 2004-12-10 02:32:49

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

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

I’ve been looking for a better way to present my archives for a while and when I saw your “bycat” version I thought this was it. The problem is that it picks up from all sections. Is there any way of “limiting” the output just to those sections you want in the same way that you can in the original plugin?


Stuart

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

Offline

#3 2004-12-10 15:41:30

Martagnan
Member
From: Humberside - uk
Registered: 2004-06-21
Posts: 90
Website

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

Ditto theBombsite!

Offline

#4 2004-12-10 16:35:04

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

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

Dually noted. Its in the works…

Offline

#5 2004-12-10 19:50:09

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

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

Ta!


Stuart

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

Offline

#6 2004-12-10 20:38:11

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

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

I added the ability to filter by section. The difference with this as compared to the rss_suparchive is that by default there is no section filter.

Download Here

Sorted. :)

Last edited by wilshire (2004-12-10 20:38:28)

Offline

#7 2004-12-10 23:06:14

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

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

Excellent. Exactly what I wanted. Now it throws a couple of problems at me. If I click on a category title link – that works fine. If I click on an individual article link – it takes me to the right page but throws me out of my CSS. The “back to the top” button is giving me this link:-

“http://thebombsite.com/rssCatArchive”

which, of course, results in a 404. I do use a style switcher and clean urls and wondered if there might be a problem conflicting with these but as the category title links work OK I think it is probably something else.


Stuart

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

Offline

#8 2004-12-11 01:20:50

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

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

whoops. minor error. i’m going on vacation tomorrow and won’t have time for another release, but its an easy fix. looks for this about 6 rows up from the bottom:
<code>
<a href=“rssCatArchive”>
</code>

And change it to this:
<code>
<a href=”#rssCatArchive”>
</code>

Offline

#9 2004-12-11 01:31:05

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

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

Thanks. Tried that but found that you just need the “#” on it’s own. Have a good vacation. I’ll be waiting for you when you get back!!


Stuart

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

Offline

#10 2004-12-12 01:38:51

alicson
Member
Registered: 2004-05-26
Posts: 465
Website

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

one of the best plugins ever. :)


textpattern.org :: find and share Textpattern resources
docs.textpattern.io :: Textpattern user documentation

Offline

#11 2004-12-16 06:08:16

leeopold
New Member
Registered: 2004-03-05
Posts: 3
Website

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

Is there a way to exclude some categories from the list? You can specify the categories in rss_suparchive, but the parameter

categories=“cat1,cat2…”

Doesn’t seem to work with rss_suparchive_bycat.

Suggestions?

Offline

#12 2004-12-16 06:53:13

jheyer
Member
Registered: 2004-09-04
Posts: 10
Website

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

Is there a way to limit the number of entries returned via this plugin? With something like:

limit=“5”


“This year, or this month, or, more likely, this very day, we have failed to practise ourselves the kind of behaviour we expect from other people.” — C.S. Lewis

Offline

Board footer

Powered by FluxBB