Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#637 2009-05-28 20:46:03

dl33
Member
Registered: 2006-06-17
Posts: 192
Website

Re: [plugin] [ORPHAN] rss_unlimited_categories - Unltd. Article Categories

floodfish: the problem is I need both: a linked version and a plain version. There would need to be a new attribute such as linked=“0”… Any ideas?

Offline

#638 2009-05-30 21:47:10

makss
Plugin Author
From: Ukraine
Registered: 2008-10-21
Posts: 355
Website

Re: [plugin] [ORPHAN] rss_unlimited_categories - Unltd. Article Categories

dl33, thanks for idea.

rss_unlimited_categories patch 0.7.4p5

Changes:

0.7.4p5

  • add “linked” attribute to rss_unlimited_categories_filedunder tag.
  • add “delim” attribute to rss_unlimited_categories_filedunder tag.

aks_cron : Cron inside Textpattern | aks_article : extended article_custom tag
aks_cache : cache for TxP | aks_dragdrop : Drag&Drop categories (article, link, image, file)

Offline

#639 2009-05-31 21:20:35

makss
Plugin Author
From: Ukraine
Registered: 2008-10-21
Posts: 355
Website

Re: [plugin] [ORPHAN] rss_unlimited_categories - Unltd. Article Categories

MattH wrote:

Is there a way to use rss_uc to retrieve articles with multiple categories using “AND” instead of “OR”? That is, can I request articles of categories 1 and 2?

Now added new attribute andcategory, use it.

rss_unlimited_categories patch 0.7.4p6

Changes:

0.7.4p6

  • add “andcategory” attribute to rss_unlimited_categories_article_list tag.

aks_cron : Cron inside Textpattern | aks_article : extended article_custom tag
aks_cache : cache for TxP | aks_dragdrop : Drag&Drop categories (article, link, image, file)

Offline

#640 2009-05-31 23:23:47

MattH
Member
From: Ann Arbor, MI
Registered: 2004-10-17
Posts: 30

Re: [plugin] [ORPHAN] rss_unlimited_categories - Unltd. Article Categories

Thank you very much, makss. Can I make a small contribution/donation somewhere?

Offline

#641 2009-06-02 06:04:59

floodfish
Member
From: Brooklyn, NY
Registered: 2007-01-11
Posts: 155
Website

Re: [plugin] [ORPHAN] rss_unlimited_categories - Unltd. Article Categories

(I feel silly asking this, as I presume the answer is dead obvious to everyone but me, but …)

When using rss_unlimited_categories_article_list or rss_unlimited_categories_related how do I make the name of the category display? I can pull up articles, but they are not visibly sorted by category, which I’m pretty sure is the whole point.

I need the name of a category, followed by appropriate articles in that category, then the name of the next category, etc.

Should I be using if_different? should I be using txp:category ?

Last edited by floodfish (2009-06-02 15:30:22)

Offline

#642 2009-06-05 05:59:39

floodfish
Member
From: Brooklyn, NY
Registered: 2007-01-11
Posts: 155
Website

Re: [plugin] [ORPHAN] rss_unlimited_categories - Unltd. Article Categories

So, I am pretty sure that rss_unlimited_categories doesn’t allow use of, nor offers a replacement for, the txp:category tag, at least when used in the context of txp:if_different or txp:article_custom.

Would anyone else find it useful to have an tag (called, perhaps, rss_unlimited_category) that would invoke the category name/id for using with txp:if_different and txp:article_custom?

makss, hoho, and anyone else doing dev work on this—does adding this strike you as necessary and/or possible?

Offline

#643 2009-06-16 21:02:13

floodfish
Member
From: Brooklyn, NY
Registered: 2007-01-11
Posts: 155
Website

Re: [plugin] [ORPHAN] rss_unlimited_categories - Unltd. Article Categories

Probably related to my earlier gripes.

The following code would work with old non-unlimited categories:

<txp:article_custom section="my-section" status="sticky" limit="1" category="my-category" />

I’d think one ought to be able to reproduce this with rss_unlimited_categories_article_list. But that doesn’t seem to have a status attribute or otherwise be able to see sticky articles.

Any ideas/advice?

Last edited by floodfish (2009-06-16 22:40:59)

Offline

#644 2009-06-17 07:46:15

makss
Plugin Author
From: Ukraine
Registered: 2008-10-21
Posts: 355
Website

Re: [plugin] [ORPHAN] rss_unlimited_categories - Unltd. Article Categories

floodfish wrote:

<txp:article_custom section="my-section" status="sticky" limit="1" category="my-category" />

I’d think one ought to be able to reproduce this with rss_unlimited_categories_article_list. But that doesn’t seem to have a status attribute or otherwise be able to see sticky articles.

rss_unlimited_categories patch 0.7.4p7

Changes:

0.7.4p7

  • add “status” attribute to rss_unlimited_categories_article_list tag.

aks_cron : Cron inside Textpattern | aks_article : extended article_custom tag
aks_cache : cache for TxP | aks_dragdrop : Drag&Drop categories (article, link, image, file)

Offline

#645 2009-06-17 07:51:13

colak
Admin
From: Cyprus
Registered: 2004-11-20
Posts: 9,096
Website GitHub Mastodon Twitter

Re: [plugin] [ORPHAN] rss_unlimited_categories - Unltd. Article Categories

Hi makss,

Have you officially adopted this plugin? If you did, it would be cool if you open a new thread so as to have contol over the first post where the download link appears.


Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.

Offline

#646 2009-06-17 08:07:15

makss
Plugin Author
From: Ukraine
Registered: 2008-10-21
Posts: 355
Website

Re: [plugin] [ORPHAN] rss_unlimited_categories - Unltd. Article Categories

floodfish wrote:

When using rss_unlimited_categories_article_list or rss_unlimited_categories_related how do I make the name of the category display?

<txp:rss_uc_filedunder linked="0" />

I can pull up articles, but they are not visibly sorted by category, which I’m pretty sure is the whole point.
I need the name of a category, followed by appropriate articles in that category, then the name of the next category, etc.
Should I be using if_different? should I be using txp:category ?

May be <txp:if_different><txp:rss_uc_filedunder linked="0" /></txp:if_different> , but articles unsorted… :-(


aks_cron : Cron inside Textpattern | aks_article : extended article_custom tag
aks_cache : cache for TxP | aks_dragdrop : Drag&Drop categories (article, link, image, file)

Offline

#647 2009-06-17 16:22:21

floodfish
Member
From: Brooklyn, NY
Registered: 2007-01-11
Posts: 155
Website

Re: [plugin] [ORPHAN] rss_unlimited_categories - Unltd. Article Categories

Makks, you’re the best. Thank you so much for taking this on!

<txp:rss_uc_filedunder linked="0" />

That would still return category titles, just unlinked, right? I need the name as opposed to the title so I can feed the result to another tag. I ended up hacking the plugin (very clumsily) to do this.

May be <txp:if_different><txp:rss_uc_filedunder linked="0" /></txp:if_different> , but articles unsorted… :-(

I was able to address this by using the very cool adi_cat_menu. (Adi is great; he’s doing ongoing development on the plugin, and is mindful of ensuring it plays nice with rss_unlimited_categories.)

Speaking of which, jpdupont suggested to a possible solution to the category names/titles problem in relation to adi_cat_menu. I haven’t tried this out yet, though (and I don’t think jpdupont’s using rss_unlimited_categories).

Offline

#648 2009-06-18 10:20:44

makss
Plugin Author
From: Ukraine
Registered: 2008-10-21
Posts: 355
Website

Re: [plugin] [ORPHAN] rss_unlimited_categories - Unltd. Article Categories

floodfish wrote:

<txp:rss_uc_filedunder linked="0" />
That would still return category titles, just unlinked, right? I need the name as opposed to the title so I can feed the result to another tag. I ended up hacking the plugin (very clumsily) to do this.

Upgrade plugin to 0.7.4p8 and try this

<txp:rss_uc_filedunder linked="2" break="," />

rss_unlimited_categories patch 0.7.4p8

Changes:

0.7.4p8

  • extend “linked” attribute in rss_unlimited_categories_filedunder tag.

Last edited by makss (2009-06-18 14:33:28)


aks_cron : Cron inside Textpattern | aks_article : extended article_custom tag
aks_cache : cache for TxP | aks_dragdrop : Drag&Drop categories (article, link, image, file)

Offline

Board footer

Powered by FluxBB