"-___-

I hate syntax errors.

thanks

Aubrey


On Thu, Feb 20, 2014 at 3:01 PM, Thomas Tanon <thomaspt@hotmail.fr> wrote:
Hi!

It's just because there was a syntax error in the configuration page. I've just fixed it [1] and I think it works fine now. The best way to check if the configuration is valid is to try to edit an Index: page.

Thomas

PS: there is no "subtitle" in the ProofreadPage metadata system yet

[1] https://it.wikisource.org/w/index.php?title=MediaWiki%3AProofreadpage_index_data_config&diff=1381666&oldid=1381665

Le 20 févr. 2014 à 14:46, Andrea Zanni <zanni.andrea84@gmail.com> a écrit :

> Hi Tpt, just a little question.
> I just got a feedback from one of the digital lending company i was talking about, and they tell me that there is no
> "dc:title" in the OAI data.
>
> (example below)
>
> <record>
> <header>
> <identifier>
> oai:it.wikisource.org:prpIndex/De%27_matematici_italiani_anteriori_all%27invenzione_della_stampa.djvu
> </identifier>
> <datestamp>2012-08-27T19:51:56Z</datestamp>
> <setSpec>edizioni_wikisource</setSpec>
> </header>
> <metadata>
> <prp_qdc:qdc xmlns:prp_qdc="http://mediawiki.org/xml/proofreadpage/qdc/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:dcterms="http://purl.org/dc/terms/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://mediawiki.org/xml/proofreadpage/qdc/ //it.wikisource.org/wiki/Speciale:ProofreadIndexOaiSchema/qdc">
> <dc:type xsi:type="dcterms:DCMIType">Text</dc:type>
> <dc:format xsi:type="dcterms:IMT">text/html</dc:format>
> <dc:format xsi:type="dcterms:IMT">image/vnd.djvu</dc:format>
> <dc:creator>Bartolomeo Veratti</dc:creator>
> <dc:publisher xml:lang="it">Tipografia degli Eredi Soliani</dc:publisher>
> <dcterms:spatial xml:lang="it">Modena</dcterms:spatial>
> <dcterms:issued xsi:type="xsi:decimal">1860</dcterms:issued>
> <dc:language xsi:type="dcterms:RFC5646">it</dc:language>
> </prp_qdc:qdc>
> </metadata>
> </record>
>
> I looked into it and the problem is  probably that the dc:title is attributed to the
>
> I thus modified the config (https://it.wikisource.org/wiki/MediaWiki:Proofreadpage_index_data_config) like this:
> https://it.wikisource.org/w/index.php?title=MediaWiki%3AProofreadpage_index_data_config&diff=1381663&oldid=1364882
>
> But now it seems it lost even more data!
> https://it.wikisource.org/wiki/Special:ProofreadIndexOai?verb=ListRecords&metadataPrefix=prp_qdc
>
> Aubrey
>
>
> On Thu, Feb 20, 2014 at 2:06 PM, Thomas Tanon <thomaspt@hotmail.fr> wrote:
> Hi!
>
> This page isn’t list in Special:SpecialPages because it’s an API endpoint and not something done for « normal" wiki users use.
>
> http://mediawiki.org/xml/proofreadpage/qdc/ is only used as a vocabulary URI. As allowed by the OAI-PMH spec the vocabulary schema is available in an other place specified by xsi:schemaLocation: https://wikisource.org/wiki/Special:ProofreadIndexOaiSchema/qdc
> (it’s only a wrapper for qualified Dublin Core).
>
> Mediawiki:Proofreadpage_index_oai_sets is only done to configure OAI-PMH "sets" (sort of categories). the OAI endpoint is usable even without sets created.
> The records content are configured by MediaWiki:Proofreadpage_index_data_config using the "data" property that maps Index: pages entries to entries as understood by ProofreadPage. The "type" property is also used. en, fr old and it Wikisources use this new configuration system already. I’ve just improved a little bit the MediaWiki.org page about it.
>
> Thomas
>
> PS: You have right, the documentation is a real problem. I’m going to send an email to the mailing list about it.
>
> > You should ask Tpt,
> > he's the one working with OAI-PMH.
> >
> > Very happy Luiz that you want to mess with that page,
> > as we probably need some tests to make it up and running for different scenarios,
> > as far as I know few Wikisources actually use it.
> >
> > I'm currently speaking with 2 companies which do "digital lending", meaning,
> > lending ebooks. I told them about that page and related.
> > I still have no feedback about though.
> >
> > Aubrey
> >
> >
> > On Thu, Feb 20, 2014 at 7:19 AM, Luiz Augusto <lugusto@gmail.com> wrote:
> > Hi, Billinghurst,
> >
> > I think that you have misunderstood the mentioned special page.
> >
> > The Oai portion on [[Special:ProofreadIndexOai]] reffers to OAI-PMH (Open Archives Initiative Protocol for Metadata Harvesting), not OAuth =)
> >
> >
> > On Thu, Feb 20, 2014 at 2:26 AM, billinghurst <billinghurst@gmail.com> wrote:
> > Luiz,
> >
> > I don't see it listed at
> >   https://www.mediawiki.org/wiki/Special:OAuthListConsumers
> > which is where all approved clients are listed at this time (though the
> > plan is to move the process to meta at some point).
> >
> > Regards, Billinghurst
> >
> >
> >
> > On Wed, 19 Feb 2014 18:54:18 -0300, Luiz Augusto <lugusto@gmail.com>
> > wrote:
> > > I've just found [[Special:ProofreadIndexOai]] and loved it!
> > >
> > > Firstly, why this special page isn't listed at [[Special:SpecialPages]]?
> > >
> > > Second, [1] points to [2], that returns a 404 error.
> > >
> > > Oka, now I'll ask the most important thing: how to implement it!? =)
> > >
> > > The doc page [3] mentions a page stored in the MediaWiki namespace, but
> > > that page is almost empty on it.wikisource and don't ever was created on
> > > en.wikisource. Those domains contains DC fields such as title, creator,
> > > issued.
> > >
> > > The MediaWiki page was also ever created on pt.wikisource, but all
> > metadata
> > > that it returns to me is type and format.
> > >
> > > ----
> > > As a side note, I really love all efforts done in ProofreadPage
> > extension.
> > > It's amazing that a plugin developed entirely in a volunteer basis, with
> > > little or none input from the main product (MediaWiki) developer team,
> > has
> > > achieved such level of quality and complexity.
> > >
> > > But, please, give some love and attention to maintain it's
> > documentation.
> > > Do it remembering that it will be crucial for small Wikisources, since
> > most
> > > of the time only one or two users retains all the very specific
> > knowledge
> > > necessary to try to develop and atract new users for that subdomain.
> > >
> > > Reverse engineering to discover how something works is a time consuming
> > > task, like all the remaining core tasks. At the end, those local experts
> > > users ends in getting no fun contributing to Wikisource because firstly
> > > needs to do lots of additional and sometimes bureaucratic work if really
> > > wants to not being the only user in such wiki.
> > >
> > > We all are in the same boat, trying to colect works in copyleft or
> > public
> > > domain in a project that the main organization behind we (Wikimedia
> > > Foundation) neither try to help us or know how to help us (in fact,
> > mostly
> > > of us, myself included, don't know also on what can be helped), please
> > help
> > > each other on what is possible.
> > >
> > > [what a melodramatic message I just wrote LOL]
> > >
> > > ----
> > >
> > > [1] -
> > >
> > https://wikisource.org/wiki/Special:ProofreadIndexOai?verb=ListRecords&metadataPrefix=prp_qdc
> > >
> > > [2] - http://mediawiki.org/xml/proofreadpage/qdc/
> > >
> > > [3] - https://www.mediawiki.org/wiki/Extension:Proofread_Page#OAI-PMH
> >
> > _______________________________________________
> > Wikisource-l mailing list
> > Wikisource-l@lists.wikimedia.org
> > https://lists.wikimedia.org/mailman/listinfo/wikisource-l
> >
> >
> > _______________________________________________
> > Wikisource-l mailing list
> > Wikisource-l@lists.wikimedia.org
> > https://lists.wikimedia.org/mailman/listinfo/wikisource-l
> >
> >
> > _______________________________________________
> > Wikisource-l mailing list
> > Wikisource-l@lists.wikimedia.org
> > https://lists.wikimedia.org/mailman/listinfo/wikisource-l
>
>
> _______________________________________________
> Wikisource-l mailing list
> Wikisource-l@lists.wikimedia.org
> https://lists.wikimedia.org/mailman/listinfo/wikisource-l
>
> _______________________________________________
> Wikisource-l mailing list
> Wikisource-l@lists.wikimedia.org
> https://lists.wikimedia.org/mailman/listinfo/wikisource-l


_______________________________________________
Wikisource-l mailing list
Wikisource-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikisource-l