css.php

From CUNY Academic Commons

Contents

Introduction

This page documents the process of generating the wiki home page “Featured” boxes. These are digests which may also provide a little information about the contents, depending upon need. For how-to documentation on how to use News Channel and RSS Reader, see the following wiki page

Issues

  • When individual pages are fed out to RSS, the whole page is rendered. Not sure if this is because there is a parameter conflict with RSS Reader extension? The default is supposed to be to just display the article’s title, and an optional parameter “text” is supposed to render the whole thing. But it seems to always display the whole thing. Also tried “number=10” parameter (to limit results), but that doesn’t seem to work either.  So as a workaround – I created digests which can be fed out.  (We could create a number of digests for each feed.)  This is not as dynamic as feeding the individual pages though…
  • The Category box appears in the feed and is ugly.  I think this can be resolved in CSS by the following:
  "#catbox {display: none;}"

I tried the MW magic word HIDDENCAT, and hid the categories, but that didn’t work too well. The category box still remained with “array” in it.

Featured Wiki Pages

News Channel Category Criteria:

RSS Feed url: https://commons.gc.cuny.edu/wiki/index.php?title=Special%3ANewsChannel&format=rss20&limit=10&cat1=Featured&cat2=F1&excat1=&wpSubmitNewsChannelParams=Create+feed

Example:

Featured Wiki Pages
Categories

[?]

Featured Wiki Resources

News Channel Category Criteria:

RSS Feed url: https://commons.gc.cuny.edu/wiki/index.php?title=Special%3ANewsChannel&format=rss20&limit=10&cat1=Featured&cat2=F2&excat1=&wpSubmitNewsChannelParams=Create+feed

Example:

Featured Wiki Resources
Categories

[?]

Featured Wiki Categories

News Channel Category Criteria:

RSS Feed url: https://commons.gc.cuny.edu/wiki/index.php?title=Special%3ANewsChannel&format=rss20&limit=10&cat1=Featured&cat2=F3&excat1=&wpSubmitNewsChannelParams=Create+feed

Example:

Featured Wiki Categories
Categories

[?]

Featured Group Wikis

News Channel Category Criteria:

RSS Feed url: https://commons.gc.cuny.edu/wiki/index.php?title=Special%3ANewsChannel&format=rss20&limit=10&cat1=Featured&cat2=F4&excat1=&wpSubmitNewsChannelParams=Create+feed

Example:

Featured Group Wikis
Categories

[?]

Recently Edited

This one is a little problematic – way too much detail… It is from Special Pages:Recent Edits” feed. Tried number=10 (parameter in RSS Reader) to limit number of results, but didn’t seem to work.

History

deleted “[[History]]” content was: ‘this is the text’ (and the only contributor was ‘Scottvoth‘)

New page

[?]

Most Active

Looking for a way to generate this one. There is a “Popular Pages” in Special Pages, but it is not a feed.

Special:PopularPages