Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#253 2005-06-01 14:36:42

hokchun
New Member
Registered: 2005-02-05
Posts: 2

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

Dear Wilshire,

Thanks so much for your help and creation of this plugin.

It’ll be even better if you have can some sample code in your plugin homepage.

Anyway, this is just my suggestion. (Or, maybe, there’s one already… I just over looked…)

Thanks again for your kind help.

Bill

Offline

#254 2005-06-02 16:37:32

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

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

I used to have examples up but took them down with hopes of updating them. That didn’t happen so they’re back up now.

Suparchive Examples

Offline

#255 2005-06-04 12:05:32

Vitruvius
Plugin Author
Registered: 2004-09-21
Posts: 125

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

Ok This is – by my own admission – a very silly post – but its late at night and I’m a ‘tad’ frustrated.

I am using TXP rc3 (v395) and I am trying to implement this supa cool plugin but am getting nothing – nil – no results.

I have downloaded, installed and activated v 0.15.1

I’ve tried placing most of your examples (adjusting or removing category/section info etc) on any of my pages and still get nothing.

Looking at the source code – the <txp:rss_suparchive …> tag disappears – which must mean something. But I can’t figure out why I can’t get it to produce a single bit of output. (I have lots of articles on the site).

Any pointers as to why this might be happening? I know its a long shot…as its kind of a broad question…

SH

Offline

#256 2005-06-05 02:13:12

Vitruvius
Plugin Author
Registered: 2004-09-21
Posts: 125

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

[UPDATE] – Just a quick update on my post above. I have installed zem_debug and am happily getting an error reported:
<code>Error 8 Undefined variable: output in rss_suparchive(), /home/usr/public_html/textpattern/lib/txplib_misc.php(352) : eval()’d code line 232</code>
Got any ideas?

SH

Last edited by Vitruvius (2005-06-05 02:14:11)

Offline

#257 2005-06-05 02:40:04

Vitruvius
Plugin Author
Registered: 2004-09-21
Posts: 125

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

[UPDATE 2] – my goodness me – I found it. Someone once said that the problems that take the longest to debug often have the simplest of solutions (not sure who that was…)

Anyway – the thing that threw me was the plugins defaulting to section=“article”. This is a section that I routinely delete as one of the first things I do when installing TXP :)

Sorry for the excesss fluff in this thread – esp as on sitting down and reading the thread from pg 1 to here I found that it had been noted already!

Maybe plugin should default to ‘any section’ or would that present other problems?

SH

Offline

#258 2005-06-09 13:42:16

heimar
New Member
From: ebonia
Registered: 2004-11-03
Posts: 6

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

Great plugin. But is there a way to localize dates?


thank you, Jebus!

Offline

#259 2005-06-09 13:47:43

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

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

The only way right now for the posted dates on the article listing is to use your own article form.

For the months, check one of the first few pages of this thread. I remember someone posting about how they localized the month names.

Offline

#260 2005-06-09 22:05:12

tinyfly
Member
From: Dallas, Texas
Registered: 2004-05-10
Posts: 462
Website

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

Feature Requests below:

  1. 1. I would like it to output the category title not the category name in rss_superarchive_bycat
  2. 2. I would like to be able to change all the wraptags like in rss_superarchive_bycat the div that gets wrapped around the category names I would like to be able to change it to an h3 tag.
  3. 3. Also I would like to be able to remove the ids and classes by something like id=”“ class=”“.
  4. 4. Clean url friendly on category links instead of /?c=eu-constitution. Do something like this /category/eu-constitution

Last edited by tinyfly (2005-06-09 22:10:41)

Offline

#261 2005-06-10 14:28:31

tinyfly
Member
From: Dallas, Texas
Registered: 2004-05-10
Posts: 462
Website

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

Could somebody give me an example of how to use the form attribute with the rss_superarchive_bycat? Also, could someone show me how to alter the code of rss_superarchive_bycat to display the category title and not the category name?

Last edited by tinyfly (2005-06-10 14:42:58)

Offline

#262 2005-06-10 16:30:57

soulship
Member
From: Always Sunny Charleston
Registered: 2004-04-30
Posts: 669
Website

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

Global section? I know I’m trying to use this for something unintended, but anyway to get a global in there?

rss doesn’t get parsed if I use <code><txp:s /></code>

Last edited by soulship (2005-06-10 17:28:27)

Offline

#263 2005-06-10 16:58:44

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

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

Form Example

Jamie – at the top of the plugin, change this:
<code>
$section = isset($section) ? $section : “article”;
</code>

to this:
<code>
$section = isset($section) ? $section : $s;
</code>

Last edited by wilshire (2005-06-10 17:01:01)

Offline

#264 2005-06-10 17:04:30

tinyfly
Member
From: Dallas, Texas
Registered: 2004-05-10
Posts: 462
Website

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

Thanks wilshire but I meant to say an example of the actual form and what tags are allowed.

Also, would it be possible to give me some code so I can change the plugin to use the category title? I sure can’t figure it out.

Offline

Board footer

Powered by FluxBB