Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
[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
Last tested with TXP r1661.
Last edited by wilshire (2006-08-09 16:42:21)
Offline
Re: [plugin] [ORPHAN] rss_suparchive - article archive list
that is cool. i’m going to try this out now.
Offline
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
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
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
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.
Last edited by wilshire (2004-11-08 03:54:47)
Offline
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
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
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