Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#211 2005-04-26 21:12:58

jelveby
Member
Registered: 2004-12-15
Posts: 11
Website

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

Ok, here’s the plugin code I’m trying to use:

<code>
<ul>
<txp:rss_suparchive section=“journal,kreativitet” limit=“5” form=“recent” offset=“3” />
</ul>
</code>

And here’s what the form “recent” looks like:

<code>
<li><txp:permlink><txp:title /></txp:permlink><txp:posted /></li>
</code>

It works, as long as I don’t use the “offset” property.

Offline

#212 2005-04-27 11:58:08

jakob
Admin
From: Germany
Registered: 2005-01-20
Posts: 5,228
Website GitHub

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

Rob, I wrote you a mail whilst the forum was down for renovations but will try here in case others have a suggestion.
&nbsp;
suparchive 0.14 corrects the timeframe problem with “ALL” for rss_suparchive but not (yet) for suparchive_bycat.
&nbsp;
I tried taking the <code>switch ($timeframe)…</code> code solution from rss_suparchive and inserting it into suparchive_bycat in place of the two lines <code>$posted= ($timeframe …;</code> and <code>$posted= isset($posted) ? $posted : “”; </code> with some degree of success.
&nbsp;
With timeframe=“ALL”, the output from suparchive_bycat is now fine as long as articles exist in the past AND future in that particular category. When all the articles in a particular category are only in the future, suparchive_bycat outputs no entries in that category at all, though it will list other categories. It seems to output all categories with articles only in the past.
&nbsp;
I probably forgot to bring across another part of the code. Any suggestions?


TXP Builders – finely-crafted code, design and txp

Offline

#213 2005-04-27 12:20:23

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

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

jelveby – I’ll have to take a look at that.

jakob – I never got a mail but it looks like what you’ve done is correct. When you set the timeframe to all there is no filtering based on the posted date so it shouldn’t care whether all of your articles are in the future or not. Seems odd. If you can echo the where clause of the sql thats running it might give you an idea of the problem.

Offline

#214 2005-05-01 08:40:39

amobea
New Member
Registered: 2004-07-13
Posts: 2

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

I’m using superarchive v0.8 under rc1
and subdateformat isn’t working – i’m assuming because it wasn’t brought in till a later version

is there a way i can get it working in v0.8 ?

Offline

#215 2005-05-01 16:47:50

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

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

I believe there was a minor typo that was causing the subdate to break in some past versions. If you scan back through this thread you should find the fix.

Offline

#216 2005-05-02 03:51:57

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

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

As promised, version 0.15 including a whole lot of updates. Each of the tags in the plugin has its own new home that you can find in my textpattern plugins section.

Download rss_suparchive 0.15

Version 0.15

  • Added formwraptag, addbreak, showdate, dateformat, datesep, showexcerpt, showauthor, authorsep to suparchive_bycat.
  • Added support for date filtering to suparchive_bycat.
  • This plugin is no longer dependent on the mdn_count plugin.
  • Fixed jump to link on suparchive_bycat.
  • Current article removed from related list using suparchive_bycat.
  • Fixes for form usage on suparchive_bycat.
  • Changed rssMenu id to a class.
  • Documentation fixes.

Offline

#217 2005-05-02 04:31:47

Jeremie
Member
From: Provence, France
Registered: 2004-08-11
Posts: 1,578
Website

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

Wilshire, you’re the man ! Thanks !

I have one request (:p) : with suparchive_bycat, would it be possible to set an attribute to not display an article if is already present somewhere else, giving cat1 the priority ?

I use the plugin for my article’s section frontpage, and it can be strange to have an article displayed twice.

But only if in the whole scope, the article is there more than once. Example: article Boxer has Sport’s car as cat1, and Porche as Cat2. If both these categories are displayed, it will appear only under the cat1 (Sport’s Car) division. But if I click on the Porche category link, then the article will be listed under it because in the new whole scope, it only appear here.

I’m not sure if I’m clear…

Edit : I lied.. I have another request :) Could you add a sortby attribute for the _bycat, with more options ? To sort by title’s name, posted date (both in asc or desc) and random ?

And I have a question… the category header link to ?c=, do you plan to use the clean url category scheme, and the category section sensitive scheme, when Zem will sort these out ?

In the meantime, is it possible to turn off the the category header link ?

Last edited by Jeremie (2005-05-02 05:26:43)

Offline

#218 2005-05-02 12:42:17

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

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

Jeremie – I think what you’re trying to do would have to be accomplished through your own content organization and the way you display your articles. I don’t ever see this plugin listing articles using grouping of subcategories under parent categories. As far as the other things you mentioned, they’d all have to be additions but it will likely be a while before the next version.

Offline

#219 2005-05-02 15:21:50

amobea
New Member
Registered: 2004-07-13
Posts: 2

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

tried the fix but it didn’t do anything.. i’m only using superarchive in one place though so i just changed the default

Offline

#220 2005-05-10 14:33:06

ifeelcool.com
Member
Registered: 2005-01-03
Posts: 10
Website

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

Wilshire, i am using rss_superarchive_menu to display links to my archive. First of all, posted articles are placed in the “artikelen” section. But when i click a link to the archive it displays all articles in the “artikelen” section! I use the following line of code: &lt;txp:rss_superarchive_menu mode=“MONTH” section=“artikelen” /&gt;
This gives me the following link /artikelen/2005/02 this doesn’t display only article from february 2005, but all the articles in the section!!
I am using clean URL Mode,section/id/title. Current version Textpattern 1.0rc3.

With rss_superarchive_menu it is possible to display listing of articles in “may 2005(8)” format and specify a linktosection to display the result for the clicked link. Example: linktosection is “archive” and section is “artikelen” How do i get to display in section archive(linktosection) the articles from section(arikelen) for the specified month and year?

Offline

#221 2005-05-10 16:36:12

jakob
Admin
From: Germany
Registered: 2005-01-20
Posts: 5,228
Website GitHub

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

hallo rob,

am now using your 0.15 release with your code instead of my modification but the problem I mentioned above still remains:

With timeframe=

Last edited by jakob (2005-05-10 19:25:02)


TXP Builders – finely-crafted code, design and txp

Offline

#222 2005-05-10 20:41:33

krisbell
New Member
From: Portland
Registered: 2004-10-18
Posts: 2
Website

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

I’ll third the request for the ability to sort by title for rss_suparchive_bycat.

I’m trying to automate the posting of a quarterly newsletter for a client, and as we use make a new category for each newsetter, we make heavy use of this plug-in . . . but I need the newsletter articles to go in descending order alphabetically by category title, since I want 2005 above 2004. It’s obvious why when you look here:

http://nwcatholiccounseling.org/newsletter

Honestly, though: I don’t know if I’d be using Textpattern for as many projects as I am if it weren’t for the suprarchive plugin.


I do what I can . . .

Offline

#223 2005-05-11 03:30:01

johnsee
New Member
From: Malaysia
Registered: 2004-08-11
Posts: 8
Website

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

I can’t get rss_suparchive installed. Could it possibly be that I’m still using v.19 and this plugin only installs on the RC3??
And yes, I’m a goofball for not upgrading to RC3 but I’m kinda tight on my time at the moment.

Offline

#224 2005-05-11 08:45:06

jakob
Admin
From: Germany
Registered: 2005-01-20
Posts: 5,228
Website GitHub

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

johnsee: there’s an older version of the plugin available for earlier txp installations. I think its v0.8 but its mentioned earlier in the thread


TXP Builders – finely-crafted code, design and txp

Offline

#225 2005-05-11 08:52:17

johnsee
New Member
From: Malaysia
Registered: 2004-08-11
Posts: 8
Website

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

gee..I think Rob has updated his plugin page with the latest one (that’s the normal practice, no?) No trace of older versions. I mailed Rob but didn’t seem to get any replies. On holiday perhaps.

Anyone out there who happened to have the older version then?

Offline

Board footer

Powered by FluxBB