Hmmm, I think this is another good opportunity to code something. Just like my WikiVid extension I'm working on. ((I found that the features offered by the various extensions for external embedding videos from other services were either substandard, or desynced from each other and there was no real single good pick to install for what you wanted to do, so I have 80% of an extension which is a perfect replacement for all of them))
Looking at the rss extensions:
http://www.mediawiki.org/wiki/Extension:RSS_%28GISWiki%29
http://www.mediawiki.org/wiki/Extension:RSS_Reader
http://www.mediawiki.org/wiki/Extension:FeedImport
http://www.mediawiki.org/wiki/Extension:SimplePie
http://www.mediawiki.org/wiki/User:Barrylb/RSS_Feed_Integrator
http://meta.wikimedia.org/wiki/User:Alxndr/RSS
http://www.mediawiki.org/wiki/Extension:SimpleFeed
http://www.wikia.com/wiki/Help:RSS2Wiki
I see a similar case. Some have good features that others don't have, but miss some that those others do have. Others don't invalidate cache, or just disable it in ways unwanted. And various ones use different libraries, some of them are using ones which are not supported anymore, or are just parsing the feeds themselves with bad methods. But 99% of them are ugly kludges from the coding standards set by good extensions that are around.

So I could probably create a nice RSS Extension which would combine all the useful features, be coded well, work the right way with the cache to avoid bad data and not bog the server, and generally be good enough to replace the current set of RSS Extensions.

Looking at the pages and the e-mail I've got some ideas for the starting feature set: * How to treat the cache should be selectable with a $eg variable (Invalidation, Nocache, leave cached; I'll check out the options on how things can best be treated) * Whether rel="nofollow" is added to links or not should be selectable using an $eg variable. * Either a template, or inline syntax should be able to be used to customize the output format for the rss feed. * The input format should be customizable (Plain text, Plain text with basic text formatting (Change http://... into a link, etc...), WikiText, or Limited HTML [Extract inline tags and parse tags like <a> to allow limited use of links]) * Options for: Max # of entries to display, customize date format, charset conversion, short output instead of full, highlight certain terms in the feed text (Perhaps regex so people can highlight something like /\bDan(iel)?\b/i), display in reverse order, and ability to filter the feed to only-include/exclude entries with certain text in the title or content (We could allow regex matching to).

Give me a little more input on what features you want included in the extension.

Also, what kind of syntax do you want?
* Should I use <rss></rss> and add some backwards compatibility? So old rss tags will still work, but will benefit from probably better use of caching and such
* Or perhaps I should use another tag name (Ideas on what to call it?)
* Or if you want I could use some sort of alternative syntax (WikiVid uses [[Embed:Video Title]] as one of the syntaxes), as long as it's geared towards being a understandable format.

Also, I'd like some input from the techs on what they want me to do with caching and potential invalidation. A needs to be setup between caching feeds to avoid hitting other servers to much, keeping wiki pages cached to avoid strain of re-parsing every time, but also the pages should periodically be refreshed to keep feeds on the page up do date. Technically it could be possible to have some sort of arbitrary {UNIQUErss-1364% (Similar to what the parser has) saved in the page which is actually substituted at display time so that the entire page does not need to be reparsed just to update a feed. But I don't completely know about that thought...

Input?

~Daniel Friesen(Dantman) of:
-The Gaiapedia (http://gaia.wikia.com)
-Wikia ACG on Wikia.com (http://wikia.com/wiki/Wikia_ACG)
-and Wiki-Tools.com (http://wiki-tools.com)

Angela wrote:
On Jan 4, 2008 11:31 AM, Chris Stafford <[EMAIL PROTECTED]> wrote:
i'm actually looking more for a solution for onsite front page news rather
then blog.

i've already written a news system, and it has a rss feed generator, i just
need someway to get it to into the wiki page.

<rss> just isnt cutting it, the text is printed as text and not parsed.

Do you have any links to show what you mean by this news system? Is it
something that is on the wiki or external? Would using the RSS feed
from the blog on your home page work?

Angela
_______________________________________________
Wikia-l mailing list
[email protected]
http://lists.wikia.com/mailman/listinfo/wikia-l

_______________________________________________
Wikia-l mailing list
[email protected]
http://lists.wikia.com/mailman/listinfo/wikia-l

Reply via email to