Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2004-11-03 02:12:23

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

[plugin] [ORPHAN] rss_suparchive - article archive list

I know there are a few article archive plugins out there but I couldn’t quote find what I was looking for.

This plugin will generate an HTML Definition List of articles grouped by date. I added in support for multiple sections, plenty of tie ins for CSS and the ability to display links to the section and categories associated with the article.

You can see the plugin in action on my site.

You can see other examples on my site.

You can also find full documentation here

Download rss_suparchive 0.18

Last tested with TXP r1661.

Last edited by wilshire (2006-08-09 16:42:21)

Offline

#2 2004-11-04 04:44:07

ramanan
Plugin Author
From: Toronto
Registered: 2004-03-12
Posts: 323
Website

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

that is cool. i’m going to try this out now.

Offline

#3 2004-11-04 05:35:59

Manfre
Plugin Author
From: North Carolina
Registered: 2004-05-22
Posts: 588
Website

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

This is a good plugin. I modified the output a little bit for my own needs, but the core logic is nice. See it in action

It would be cool if you added Forms supports to the plugin.

Offline

#4 2004-11-04 05:59:13

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

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

Hey Manfre, thats quite an archive list. If you don’t mind letting me know what you modified I could try to integrate it into the plugin. Its not called the suparchive for nothing.

I’ve been following this thread for a while and actually tried to use it to no avail which is the main reason I created this. You’re date listing kinda reminds me of that plugins output. I’m considering adding in some of that functionality to give the ability to filter the list by month or day.

Good idea on the forms support. I’ll look into that.

Offline

#5 2004-11-04 15:22:01

Manfre
Plugin Author
From: North Carolina
Registered: 2004-05-22
Posts: 588
Website

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

The only changes made can be found by looking for the variable $day. I use the date format as “F Y” to get the month breakdown.

I’ve tried a lot of different archive plugins. None of them did what i wanted, or I couldn’t get them to work. I would have made my own, but I was being lazy. Yours was nice and didn’t require many changes to work the way I wanted.

Removed download link to modded version. The main plugin provides all the features of the mod.

Last edited by Manfre (2005-02-12 16:40:43)

Offline

#6 2004-11-04 18:47:33

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

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

Thanks Manfre. I took mod and released version 0.2 of the plugin

I took your mod and abstracted it a bit so that you could specify any dateformat and separator where you were displaying the day. I called the new date the subdate. That way the listing can be grouped by year and the month and day can be shown next to the article title. Here’s an example usage:
<code>
<txp:rss_archive section=“article,photos” dateformat=“F Y” showsection=“1” showcats=“1” showsubdate=“1” class=“aa” addbreak=“1” />
</code>

You can see an example here of the output that it produces.

Updated Documentation

Last edited by wilshire (2004-11-08 03:54:47)

Offline

#7 2004-11-05 03:41:16

gonzo409
Member
From: Ohio
Registered: 2004-06-25
Posts: 50
Website

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

I love this plugin. I was using a similar archive plugin, but the extensive options on this one are great.

But, as with most plugins, use of forms is always a great ability. I don’t understand why more plugin makers don’t take advantage of forms. Good job, though! Thanks.


Liberal. Geek.

Offline

#8 2004-11-05 04:34:47

proph3t
Member
Registered: 2004-09-26
Posts: 31

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

Any chance of category selection? That would make this perfect ;-)

Offline

#9 2004-11-05 14:32:52

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

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

proph3t – I’m working on the category selection support. Should have something later today.

gonzo/Manfre – I’ve been looking into the use of forms. When you talk about the use of forms, do you mean the ability to specify an article form that the plugin would use for rendering HTML or that the plugin should have tags that could be used in am article form? Or both maybe?

Offline

#10 2004-11-05 15:43:30

gonzo409
Member
From: Ohio
Registered: 2004-06-25
Posts: 50
Website

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

I mean “the ability to specify an article form that the plugin would use for rendering HTML


Liberal. Geek.

Offline

#11 2004-11-05 20:01:42

JayCee
New Member
Registered: 2004-04-13
Posts: 2

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

I may be daft, but I can’t get this to work…

I created an archive section, a special archive page (with the code from the documentation in the body) and set the section to use that page

No joy – I just get empty, nada, zip, nothing. I have upgraded to 1.1 RC whatever du jour, I checked the correct “section=“article” part, but I get nothing.

What am I doing wrong?

Offline

#12 2004-11-05 20:03:30

JayCee
New Member
Registered: 2004-04-13
Posts: 2

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

duh

the docs are wrong! They describe a call to txp:rss_archive… instead of txp:rss_suparchiv

could you change that?

Last edited by JayCee (2004-11-05 20:04:27)

Offline

#13 2004-11-05 20:17:03

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

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

Whoops, sorry about that. Thats what happens when you change the name of a plugin in the middle of writing it. There are some working examples here.

The docs will be updated in the next version of the plugin which could be as soon as later tonight.

I’ve added support for categories along with a couple other things. Still working on the forms support…

Last edited by wilshire (2004-11-05 20:17:36)

Offline

#14 2004-11-05 23:28:49

andrea
Member
From: la la land
Registered: 2004-02-24
Posts: 62
Website

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

oh it’s working great, thanks so much for this easy-peasy plugin. ;) it’s most excellent.

Last edited by andrea (2004-11-05 23:34:22)

Offline

#15 2004-11-06 18:19:28

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

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

Another new day, another new version of the rss_suparchive. You know the drill by now…

Working Examples

Full Documentation

Download

Version 0.3
  • Added support for comma separated list of categories
  • Added limit attribute to limit the number of articles returned to allow for use with as a recent articles list
  • Added css style rssAlt to every other line to allow for flip/flop effect

I’m still thinking about the forms support. After looking into it, to answer your question gonzo, I think more plugin developers don’t add forms support because its more difficult than just spitting out some HTML. I’ve only seen a couple plugins that support forms and paging and I’m still trying to get my head around it.

Plus, seems as though supporting forms with this plugin would cancel out most of what it does. Couldn’t article_custom or chh_article_custom be used to do the same thing? Or am I missing something here?

I’m happy to add the support because I’d like to learn how. I’m just wondering if there’s a real value in doing so in this case.

Last edited by wilshire (2004-11-08 03:55:11)

Offline

Board footer

Powered by FluxBB