List All Pages with a Specific Tag
Forum » Wikidot features and bugs / New features and ideas » List All Pages with a Specific Tag
started by: bryanburkebryanburke
on: 1207112658|%e %b %Y, %H:%M %Z|agohover
number of posts: 26
rss icon RSS: new posts
summary:
A Pages module that can list by tags would be a handy organizational feature.
Multiple Categories Per Page
bryanburkebryanburke 1207112658|%e %b %Y, %H:%M %Z|agohover

A feature that I think would expand the usefulness of the Pages module greatly would be the ability to assign multiple categories (namespaces) to each page. The syntax to do this could be something similar to:

wiki-cat-1:wiki-cat-2:wiki-cat-3:wiki-page

or

wiki-cat-1;wiki-cat-2;wiki-cat-3:wiki-page

or

wiki-cat-1_wiki-cat-2_wiki-cat-3:wiki-page

I would love to see this feature implemented, if at all possible.

last edited on 1207112907|%e %b %Y, %H:%M %Z|agohover by bryanburke + show more
unfold Multiple Categories Per Page by bryanburkebryanburke, 1207112658|%e %b %Y, %H:%M %Z|agohover
Re: Multiple Categories Per Page
Craig MacomberCraig Macomber 1207114266|%e %b %Y, %H:%M %Z|agohover

There are many reasons this can not be done. Permissions, themes, and many other things are set on the per-category level. A possible alternative would be a pages module that can list all pages in any of a few categories, or to use the tag system. I don't know of a module to display all the pages with a specific tag though (just the tag cloud). I think there might be a way to do it.

unfold Re: Multiple Categories Per Page by Craig MacomberCraig Macomber, 1207114266|%e %b %Y, %H:%M %Z|agohover
Re: Multiple Categories Per Page
bryanburkebryanburke 1207114771|%e %b %Y, %H:%M %Z|agohover

Well, a Pages module that can list by tags sounds like a good idea, because that would provide the exact same functionality that I described above.

unfold Re: Multiple Categories Per Page by bryanburkebryanburke, 1207114771|%e %b %Y, %H:%M %Z|agohover
Re: Multiple Categories Per Page
bryanburkebryanburke 1207164810|%e %b %Y, %H:%M %Z|agohover

So, does anyone know if a Pages module that lists by tags is possible at all?

unfold Re: Multiple Categories Per Page by bryanburkebryanburke, 1207164810|%e %b %Y, %H:%M %Z|agohover
Re: List All Pages with a Specific Tag
bryanburkebryanburke 1207344347|%e %b %Y, %H:%M %Z|agohover

I hate to bump up my own topic, but I would like to hear from more people, if possible, about if this idea could possibly be put into a module. It would be great to be able to list all pages with a specific tag. I'll give an example of how this can be useful:

Let's say you have a wiki of articles. If, for instance, the Pages module could list by tags, you could label each article page with the tags of its genre and author. That way, you could make a page for that genre showing all the articles of that genre ([[module Pages tag="genre-name"]]) and another page for that author showing all articles by that author ([[module Pages tag="author-name"]]).

Also, when an author creates a new wiki page with the genre and author tags, if a page for that genre or author exists, the page will automatically be listed, thus simplifying the task of cross-reference.

It would be nice as well if each page could have a summary input by the author. That way, instead of the Pages module just being able to show the first few words of the page, it could show the author's own summary of what the page contains. Perhaps this could work like what is suggested in this thread.

last edited on 1207345368|%e %b %Y, %H:%M %Z|agohover by bryanburke + show more
unfold Re: List All Pages with a Specific Tag by bryanburkebryanburke, 1207344347|%e %b %Y, %H:%M %Z|agohover
Re: List All Pages with a Specific Tag
Helmuti_pdorfHelmuti_pdorf 1207499498|%e %b %Y, %H:%M %Z|agohover

Why do you not use the backlinks module ?

http://www.wikidot.com/doc:backlinks-module

You can than have on every articles of

  • a specific author "abc" the [[Author:abc]] link
  • a specific genre "genre-name" the [[genre:genre-name]] link

in an extra last line/block/header/section = this article belongs to ….

the specific categories "author", "genre" are not really neccessary, but makes it clearer…

and on the "author:abc" page there is after the info of the author itself the

[[module Backlinks]]

If some links a re"unwished" than you have to build them external ( long ) as http:…and the short tilte - long links are not inserted in the backlinks module…

Hope this helps as a work around ( this technic is like the "category" usage in wikipedia) until such wanted pages per "tag" are available?

EDIT: have a look on such backlinks module: http://community.wikidot.com/start-user

last edited on 1207503066|%e %b %Y, %H:%M %Z|agohover by Helmuti_pdorf + show more
unfold Re: List All Pages with a Specific Tag by Helmuti_pdorfHelmuti_pdorf, 1207499498|%e %b %Y, %H:%M %Z|agohover
Re: List All Pages with a Specific Tag
bryanburkebryanburke 1207540707|%e %b %Y, %H:%M %Z|agohover

I had no idea the Backlinks module could be used this way. Still, this method has its limitations. If you want to do some hefty cross-referencing, for example, this is not really a sound solution.

Let's say, for instance, that you have an article about dogs, and within that article you have a link to the author's page and a link to the page of the location the article is about. This works because both the author's page and the location's page will list this article with the Backlinks module. However, if you want to include a link within the author's page to that location's page, then the Backlinks module will list the author's page as well as the article.

So, in this regard, a module to list all pages by tag would be more flexible. But thank you very much for your suggestion. It is highly appreciated.

last edited on 1207541646|%e %b %Y, %H:%M %Z|agohover by bryanburke + show more
unfold Re: List All Pages with a Specific Tag by bryanburkebryanburke, 1207540707|%e %b %Y, %H:%M %Z|agohover
Re: List All Pages with a Specific Tag
Helmuti_pdorfHelmuti_pdorf 1207558013|%e %b %Y, %H:%M %Z|agohover

If you want to "exclude" a link from the backlinks module - use the long form of the link ( http:…) and it will not be taken by the backlinks module into account. ( if youn really want to include an authors-place into an article…)

And the time line to get such a solution can not be answered here… we can only wait for wikidot 2.0 and the upcoming features..

unfold Re: List All Pages with a Specific Tag by Helmuti_pdorfHelmuti_pdorf, 1207558013|%e %b %Y, %H:%M %Z|agohover
Re: List All Pages with a Specific Tag
bryanburkebryanburke 1207625086|%e %b %Y, %H:%M %Z|agohover

Now I fully understand the features of the Backlinks module. Thank you very much for your assistance and suggestions.

unfold Re: List All Pages with a Specific Tag by bryanburkebryanburke, 1207625086|%e %b %Y, %H:%M %Z|agohover
Re: List All Pages with a Specific Tag
thevisitorthevisitor 1207659496|%e %b %Y, %H:%M %Z|agohover

I came here to ask for the same tag feature - and it would be still useful - but this module already covers what I need! Thanks!

unfold Re: List All Pages with a Specific Tag by thevisitorthevisitor, 1207659496|%e %b %Y, %H:%M %Z|agohover
Re: List All Pages with a Specific Tag
Stephen KayStephen Kay 1209408087|%e %b %Y, %H:%M %Z|agohover

I would add my vote for a module that lists all pages with a specific tag. I understand the backlinks thing being talked about here; but it's not the same and would require a bunch of extra work on my site for something that tags already covers….

unfold Re: List All Pages with a Specific Tag by Stephen KayStephen Kay, 1209408087|%e %b %Y, %H:%M %Z|agohover
Re: List All Pages with a Specific Tag
hartnellhartnell 1209473014|%e %b %Y, %H:%M %Z|agohover

The Pages module can do this.

[[module Pages tag="tag-here"]]

— Shawn

unfold Re: List All Pages with a Specific Tag by hartnellhartnell, 1209473014|%e %b %Y, %H:%M %Z|agohover
Re: List All Pages with a Specific Tag
bryanburkebryanburke 1209780834|%e %b %Y, %H:%M %Z|agohover

I tried this, and all it gave me was a list of every page on my wiki.

unfold Re: List All Pages with a Specific Tag by bryanburkebryanburke, 1209780834|%e %b %Y, %H:%M %Z|agohover
Re: List All Pages with a Specific Tag
Helmuti_pdorfHelmuti_pdorf 1209800335|%e %b %Y, %H:%M %Z|agohover

the "normal" tag cloud module do exact this.. !

Why do you want to recreate the list of a specific tag ?

( you can do this very easy by using an "included" template using a variable for the tag:

The "resulting page" with the list of all pages stored with a aspecific tag is "landing" on a page on this URL:
(example: all pages with the tag "forum": on our community site)

http://community.wikidot.com/system:page-tags/tag/**forum**

or use the (same) link here: | tag=forum

Again: I do not really understand the need for such a list, this is managed perfectly with the module tagcloud…

unfold Re: List All Pages with a Specific Tag by Helmuti_pdorfHelmuti_pdorf, 1209800335|%e %b %Y, %H:%M %Z|agohover
Re: List All Pages with a Specific Tag
Helmuti_pdorfHelmuti_pdorf 1209801721|%e %b %Y, %H:%M %Z|agohover

Sorry, Shawn,
this is not ( yet ?) working … the Pages module have no tag selection available…

unfold Re: List All Pages with a Specific Tag by Helmuti_pdorfHelmuti_pdorf, 1209801721|%e %b %Y, %H:%M %Z|agohover
Re: List All Pages with a Specific Tag
ErichSteinboeckErichSteinboeck 1209804819|%e %b %Y, %H:%M %Z|agohover

Use

[[module PagesByTag tag="tag-here"]]

> does anyone know if a Pages module that lists by tags is possible at all?
In a post in to the thread “Page listings by Tags” back in October '06, Michal promised “I will work on the Pages module too.”

unfold Re: List All Pages with a Specific Tag by ErichSteinboeckErichSteinboeck, 1209804819|%e %b %Y, %H:%M %Z|agohover
Re: List All Pages with a Specific Tag
bryanburkebryanburke 1209836821|%e %b %Y, %H:%M %Z|agohover

listing pages by more than one criterion

Going back to my original question, the reason I requested this feature is to be able to list pages by using more than one criterion. For instance, if you want to list all of the pages that are animal-related, then the Pages module works fine provided you have an "animals" category:

[[module Pages category="animals"]]

This can also be done with PagesByTag:

[[module PagesByTag tag="animals"]]

However, if you want to list, for example, all of the pages that are animal-related AND that are contributed by a certain person (John Doe), there is no module that I know of that can do this. It would be nice, therefore, to have a module that could list pages by using more than one criterion:

[[module Pages category="animals" tag="john-doe"]]

Having the functionality to list pages by more than one tag would also be nice:

[[module Pages category="animals" tag="john-doe" tag="dogs"]]

This last example would list all of the pages that are animal-related (in the "animals" category), contributed by John Doe (tagged with "john-doe"), and specifically about dogs (tagged with "dogs").

With this sort of functionality, the user John Doe could simply create his page in the "animals" category and tag it with "john-doe" and "dogs," and his page would automatically be listed on other pages with the above module inserted.

Also, if the Pages module is used instead of the PagesByTag module, the 'all pages tagged with "tag"' heading won't appear.

unfold Re: List All Pages with a Specific Tag by bryanburkebryanburke, 1209836821|%e %b %Y, %H:%M %Z|agohover
Re: List All Pages with a Specific Tag
Helmuti_pdorfHelmuti_pdorf 1209886218|%e %b %Y, %H:%M %Z|agohover

Hi!
Exact this example should work !

[[module PagesByTag tag="news" category="_default"]]

Erich has written a documentation about the PagesbyTag module:

http://www.wikidot.com/doc:pagesbytag-module

Thanks Erich!

last edited on 1210106770|%e %b %Y, %H:%M %Z|agohover by ErichSteinboeck + show more
unfold Re: List All Pages with a Specific Tag by Helmuti_pdorfHelmuti_pdorf, 1209886218|%e %b %Y, %H:%M %Z|agohover
Re: List All Pages with a Specific Tag
bryanburkebryanburke 1209926731|%e %b %Y, %H:%M %Z|agohover

This works perfectly, except I wish that the automatic heading ("List of pages tagged with tag from category category:") were optional, so that I could put only my own heading above the list.

When the Pages module, for instance, is used with the category option, it doesn't print out:

"List of pages from category category:"

last edited on 1209926941|%e %b %Y, %H:%M %Z|agohover by bryanburke + show more
unfold Re: List All Pages with a Specific Tag by bryanburkebryanburke, 1209926731|%e %b %Y, %H:%M %Z|agohover
Re: List All Pages with a Specific Tag
ocvocv 1210863083|%e %b %Y, %H:%M %Z|agohover

Somehow this confuses me. I only want to do one thing:

I wish to list all wiki contributions by member, this would of course include page creations, comments, and forum posts. What is the syntax for this?

unfold Re: List All Pages with a Specific Tag by ocvocv, 1210863083|%e %b %Y, %H:%M %Z|agohover
Re: List All Pages with a Specific Tag
ErichSteinboeckErichSteinboeck 1210974020|%e %b %Y, %H:%M %Z|agohover

> wiki contributions by member, this would of course include page creations, comments, and forum posts

It's easy to check your own recent contributions and recent posts and comments.

To do that by Wikidot member is more difficult: you'd need to go to http://www.wikidot.com/user:info/name-of-wikidot-member and then click on “Recent contributions” and “Recent posts/comments”. As far as I understand Wikidot does not provide direct URL links for that.

unfold Re: List All Pages with a Specific Tag by ErichSteinboeckErichSteinboeck, 1210974020|%e %b %Y, %H:%M %Z|agohover
Re: List All Pages with a Specific Tag
ocvocv 1211293159|%e %b %Y, %H:%M %Z|agohover

Okay, so the code does exist then, someone must know it or it would not be in use. Unfortunately there is no way to view the wiki-syntax source on those user information pages though…. Anyone???

unfold Re: List All Pages with a Specific Tag by ocvocv, 1211293159|%e %b %Y, %H:%M %Z|agohover
Re: List All Pages with a Specific Tag
ErichSteinboeckErichSteinboeck 1211390940|%e %b %Y, %H:%M %Z|agohover

> a module that could list pages by using more than one criterion
> Having the functionality to list pages by more than one tag would also be nice

This feature has just been implemented in a new module called “ListPages”.

To list all pages from a category and with a specific tag, use:

[[module ListPages category="_default" tags="news" separate="false" rssEmbed="false" rssShow="false"]]
%%linked_title%%
[[/module]]

There are lots of additional ListPages features available: specify more than one category; specifiy more than one tag; sort the output, etc. — see the preliminary documentation for ListPages that is available.

last edited on 1211391068|%e %b %Y, %H:%M %Z|agohover by ErichSteinboeck + show more
unfold Re: List All Pages with a Specific Tag by ErichSteinboeckErichSteinboeck, 1211390940|%e %b %Y, %H:%M %Z|agohover
Re: List All Pages with a Specific Tag
ocvocv 1211461352|%e %b %Y, %H:%M %Z|agohover

Thank you for this. I'm looking forward to trying this out.

unfold Re: List All Pages with a Specific Tag by ocvocv, 1211461352|%e %b %Y, %H:%M %Z|agohover
Re: List All Pages with a Specific Tag
bryanburkebryanburke 1212358387|%e %b %Y, %H:%M %Z|agohover

Thank you very much, Erich! This will help so much in creating a wiki that is both easy to use and partially automated.

Also, when the Wikidot API comes out, this new feature will integrate right in. Wiki admins will be able to develop desktop applications for their wiki users that will add pages with all of the necessary tags and the correct category. So, if there are pages set up already with the ListPages module configured, the users' new pages will go straight from the client-side application to the wiki and appear automatically where they should. It is features like this that make Wikidot numero uno among wiki hosts and will continue to give this service the edge in the future.

Thanks again for this awesome service and this fancy new functionality!

last edited on 1212359296|%e %b %Y, %H:%M %Z|agohover by bryanburke + show more
unfold Re: List All Pages with a Specific Tag by bryanburkebryanburke, 1212358387|%e %b %Y, %H:%M %Z|agohover
Re: List All Pages with a Specific Tag
SulfrumSulfrum 1213432079|%e %b %Y, %H:%M %Z|agohover

I would use in many pages of my wiki the ListPages module to be able to list pages by using more than one criterion but I discover that the module is very slow end some time need minutes to render the page. Could someone confermate this slowness of the module?

Entropy

unfold Re: List All Pages with a Specific Tag by SulfrumSulfrum, 1213432079|%e %b %Y, %H:%M %Z|agohover
new post
Unless stated otherwise Content of this page is licensed under Creative Commons Attribution-Share Alike 2.5 License.