Hi Markus!
Can you please point me out, what's part of my RSS special:ask URL is wrong?
I am building a link with $skintpl->makeI18nUrl( $link, $urlaction );
where the
$link="Special:Ask";
$urlaction="q=[[Concept:News]]&po=%3FDate&sort0=Date&order0=DESC&sc=1&eq=yes&limit=20&format=rss";
The query works, but returns a broadtable instead of RSS feed when
executed by SMW_SpecialAsk.php
In SMWAskPage::extractQueryParameters($p){}
it's true case in:
if ( !array_key_exists('format',$this->m_params) ) {
but the false in:
if (array_key_exists('rss', $this->m_params)) { // backwards
compatibility (SMW<=1.1 used this)
so no $this->m_params['format'] = 'rss' are set.
I've tried to use
$urlaction="q=[[Concept:News]]&po=%3FDate&sort0=Date&order0=DESC&sc=1&eq=yes&limit=20&format=rss&rss=1";
it again returns a broadtable.
I am stuck with this, can you help, please?
Dmitriy
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Semediawiki-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/semediawiki-devel