Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#85 2005-01-26 22:27:20

Etz Haim
Archived Plugin Author
From: Karlstad, Sweden
Registered: 2005-01-24
Posts: 262
Website

Re: [plugin] [ORPHAN] rss_suparchive - article archive list

I doesn’t validate anyway, because of the IDs starting with a number. Check it out.

> wilshire wrote:

> Now I gotcha. The display of some kind of date header isn’t something that can be turned off as of now. It wouldn’t be that bad to add a way to turn it off but I don’t know what that would do in terms of validation. Since its a definition list, removing the date display would leave the list without a <code><dt></code> tag which may or may not validate. I’m not really sure on that.

Offline

#86 2005-02-05 08:08:49

HarryTick
New Member
From: NY
Registered: 2004-05-20
Posts: 5
Website

Re: [plugin] [ORPHAN] rss_suparchive - article archive list

Wilshire,

You rock!

Offline

#87 2005-02-05 08:21:05

jpdupont
Member
Registered: 2004-10-01
Posts: 752

Re: [plugin] [ORPHAN] rss_suparchive - article archive list

Hello !

Is it a way with this plugin to list the sections (or some sections) then, in each section, list the articles organised by date ?

Offline

#88 2005-02-05 18:45:27

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

Re: [plugin] [ORPHAN] rss_suparchive - article archive list

The plugin itself wont list multiple sections separately. If you want to do that, just place multiple calls to the plugin tag on your page. Thats how I did my archive page so I could list articles and photos separately.

Offline

#89 2005-02-06 07:47:02

jpdupont
Member
Registered: 2004-10-01
Posts: 752

Re: [plugin] [ORPHAN] rss_suparchive - article archive list

Thanks wilshire !

Offline

#90 2005-02-21 06:22:09

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

Re: [plugin] [ORPHAN] rss_suparchive - article archive list

The rss_suparchive is now updated for use with 1.0 RC3. There was only 1 functional addition to the plugin. The rest of the changes included minor bug fixes.

The download includes the 0.8 version for pre-RC3 use and the 0.9 version for RC3 ONLY.

Updated Docs

Download

Version 0.9
  • Compatible with 1.0 RC3 and later ONLY
  • Added offset attribute.

Offline

#91 2005-02-23 04:43:13

Niloc
Member
Registered: 2004-05-15
Posts: 38

Re: [plugin] [ORPHAN] rss_suparchive - article archive list

Thanks for a great plugin wilshire!

Offline

#92 2005-02-25 04:58:55

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

Re: [plugin] [ORPHAN] rss_suparchive - article archive list

The rss_suparchive now supports filtering based on URL patterns. There is a new tag called rss_suparchive_menu that will build lists of months or years along with the article totals within each. For example:

  • February 2005 (4)
  • January 2005 (3)
  • December 2004 (7)

or

  • 2005 (7)
  • 2004 (69)
  • 2003 (79)

The links generated will be in either /yyyy/mm or /yyyy format accordingly.

I also added the ability to list past, future or all articles based on a mod by txfrog1999 for use with an event calendar.

The download includes the 0.8 version for pre-RC3 use and the 0.10 version for RC3 ONLY. You can see the filter in action in the side bar of the wilshire|one archive.

Thanks very much to osei for helping out with testing of the plugin and internationalization!

rss_suparchive

rss_suparchive_menu

Download

Version 0.10
  • Added timeframe attribute that accepts PAST, FUTURE or ALL. PAST is the default.
  • Added support for filtering by URL.
  • Added rss_suparchive_menu tag.

Last edited by wilshire (2005-02-25 18:14:28)

Offline

#93 2005-02-28 18:37:52

rob_roy
Archived Plugin Author
Registered: 2005-02-28
Posts: 18

Re: [plugin] [ORPHAN] rss_suparchive - article archive list

Wilshire,
Awesome plugin. Can I make a feature request?

I’d certainly find it useful if rss_suparchive_bycat would only display the current category, if a category is selected. I have a section /tags/ that displays the _bycat menu, but I’d like it to only display Music (and the music articles) if you happen to be in /tags/music.

To be honest, I tried to play around with it, but I’ve been unsuccessful in getting it to work so far.

Offline

#94 2005-03-01 01:51:09

ruminator
Member
From: Carson City, NV
Registered: 2005-02-01
Posts: 57
Website

Re: [plugin] [ORPHAN] rss_suparchive - article archive list

Thanks for the update!


Search is your friend… Think before writing…

Offline

#95 2005-03-01 02:18:22

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

Re: [plugin] [ORPHAN] rss_suparchive - article archive list

rob_roy – Its pretty easy to add the support for filtering by the global category. I’ll outline it here and add it to a future version.

First, add $c to the globals list on the first line.

Then change line ~28 from
<code>
$catsql = ($useartcats) ? “ AND (name = ‘“.$category1.”’ OR name = ‘”.$category2.”’) “ : $catsql;
</code>

to
<code>
if ($useartcats) {
$catsql = “ AND (name = ‘“.$category1.”’ OR name = ‘”.$category2.”’) “;
} else {
if ($c) $catsql = “ AND name = ‘“.$c.”’ ”;
}
</code>

I’ll try to clean things up but this will getting it working for you now. I have it running on my site now.

No problem ruminator. I’m still waiting to hear if anyone has used the new menu and date based archive URLs successfully,

Offline

#96 2005-03-01 15:27:41

rob_roy
Archived Plugin Author
Registered: 2005-02-28
Posts: 18

Re: [plugin] [ORPHAN] rss_suparchive - article archive list

Awesome. Thanks.

Offline

Board footer

Powered by FluxBB