[open-science] Launch of the Panton Principles for Open Data in Science + Is It Open Data?
Mike Chelen
mike at opensci.info
Sun Feb 21 17:30:57 UTC 2010
Would it be possible to have the Country field selected by drop-down
menu? Then totals would be easier to generate, without needing to
convert between U.K. and UK, or USA and United States.
Thanks everyone for preparing this articulate summary of the issue,
with a clear course of action. Going to add my endorsement now!
- Mike
http://twitter.com/mikechelen http://friendfeed.com/mikechelen
On Fri, Feb 19, 2010 at 12:21 PM, Egon Willighagen
<egon.willighagen at gmail.com> wrote:
> Hi all,
>
> On Fri, Feb 19, 2010 at 4:45 PM, Egon Willighagen
> <egon.willighagen at gmail.com> wrote:
>> On Fri, Feb 19, 2010 at 4:35 PM, Jonathan Gray <jonathan.gray at okfn.org> wrote:
>>> Do you think it would be difficult to modify?
>>
>> Doesn't look difficult...
>
> <snip>
>
>> Cannot do it in 5 minutes, but I'll check tonite... don't have
>> wordpress installed, so will need some bit extra for testing...
>
> Deepest apologies for the 0's in the output once! String concatenation
> is with '.' not with '+' as I am used to in Java :(
>
> But I hacked in some <span> elements, so you can now use the xpath
> query //span[@class='signature']/span[@class='Country']/text() and
> some linux command line magic:
>
> wget -O endorsed.html http://pantonprinciples.org/endorse...; xpath -q
> -e "//span[@class='signature']/span[@class='Country']/text()"
> endorsed.html | sort | uniq -c
>
> to get:
>
> 1 Australia
> 1 Canada
> 1 Catalonia
> 2 Espa�a
> 2 France
> 5 Germany
> 1 Greece
> 1 Italy
> 1 Netherlands
> 1 Norway
> 1 Poland
> 1 Slovenia
> 1 Sweden
> 1 Switzerland
> 1 The Netherlands
> 8 UK
> 1 U.K.
> 1 United Kingdom
> 1 United States of America
> 9 USA
>
> The FOAF XHTML+RDFa is even trickier as WordPress does not produce
> XHTML pages... that's not something I like to fiddle with... just
> hacking the plugin gave me enough sweating...
>
> Egon
>
> --
> Post-doc @ Uppsala University
> Proteochemometrics / Bioclipse Group of Prof. Jarl Wikberg
> Homepage: http://egonw.github.com/
> Blog: http://chem-bla-ics.blogspot.com/
> PubList: http://www.citeulike.org/user/egonw/tag/papers
>
> _______________________________________________
> open-science mailing list
> open-science at lists.okfn.org
> http://lists.okfn.org/mailman/listinfo/open-science
>
More information about the open-science
mailing list