From: Jaider A. F. <jai...@gm...> - 2012-11-20 12:02:36
|
Hi everybody, In Special:ExportRDF one can export data from several pages by putting the title in the box and clicking on Export. However, one can access this functionality via URL parameters, like explained here <http://semantic-mediawiki.org/wiki/Help:RDF_export>: http://semanticweb.org/index.php?title=Special:ExportRDF*&page=* SMWCon_Spring_2012 So the parameter *&page=* carry the article name in a request. When I try with several page parameters, i. e. http://semanticweb.org/index.php?title=Special:ExportRDF&page=Page1&page=Page2&page=Page3. .. I get only one page exported. Is there a way to export several pages in the Special:ExportRDF via URL? Thanks in advance. -- Regards, Jaider |
From: Jaider A. F. <jai...@gm...> - 2012-11-23 12:08:05
|
Well, considering that nobody answered the question, I think there is no way to do it yet. Should I make a feature request on bugzilla? I guess it is a useful and a reasonable request if we consider that it is already done via UI in Special:ExportRDF. The great advantage is that we could make links to export RDF with more than one page. (Of course we can make an ask query with especific pages and properties to export in RDF, but the cool thing with the Special:ExportRDF is that one doesn't need to know or specify the properties, just the pages, and we can specify things like &backlinks=1, &recursive=1, and &xmlmime=rdf. 2012/11/20 Jaider Andrade Ferreira <jai...@gm...> > Hi everybody, > > In Special:ExportRDF one can export data from several pages by putting the > title in the box and clicking on Export. > However, one can access this functionality via URL parameters, like > explained here <http://semantic-mediawiki.org/wiki/Help:RDF_export>: > > http://semanticweb.org/index.php?title=Special:ExportRDF*&page=* > SMWCon_Spring_2012 > > So the parameter *&page=* carry the article name in a request. > When I try with several page parameters, i. e. > > > http://semanticweb.org/index.php?title=Special:ExportRDF&page=Page1&page=Page2&page=Page3. > .. > > I get only one page exported. > Is there a way to export several pages in the Special:ExportRDF via URL? > > Thanks in advance. > > -- > Regards, > Jaider > -- Atenciosamente, Jaider Andrade Ferreira |
From: Jeroen De D. <jer...@gm...> - 2012-11-23 13:18:32
|
Hey Jaider, I had a quick look at the code and it seems like it's currently not possible to link to the export with multiple pages in the argument. I suggest you make an enhancement request at https://bugzilla.wikimedia.org/ Should be rather easy to do even for someone not familiar with the wider SMW codebase. Cheers -- Jeroen De Dauw http://www.bn2vs.com Don't panic. Don't be evil. -- |