http://download.wikimedia.org/enwiki/20070124/ - "page abstracts for Yahoo" - what is this file?
(I could download and look, except it's 1.3GB ...)
- d.
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
David Gerard wrote:
http://download.wikimedia.org/enwiki/20070124/ - "page abstracts for Yahoo" - what is this file?
It's page extracts, for Yahoo.
(But you could use them too, I guess. :)
- -- brion vibber (brion @ pobox.com)
David Gerard wrote:
http://download.wikimedia.org/enwiki/20070124/ - "page abstracts for Yahoo" - what is this file?
(I could download and look, except it's 1.3GB ...)
- d.
Then check for another wiki, not the biggest ;)
I downloaded simple, which is is 6.6 MB http://download.wikimedia.org/simplewiki/20061223/simplewiki-20061223-abstra...
Here is the beginning: <feed> <doc> <title>Wikipedia: April</title> <url>http://simple.wikipedia.org/wiki/April</url> <abstract> April is the fourth month of the year with 30 days. The name April comes from that Latin word aperire which means "to open". </abstract> <links> <sublink linktype="nav"> <anchor>April in poetry</anchor> <link> http://simple.wikipedia.org/wiki/April#April_in_poetry</link> </sublink> <sublink linktype="nav"> <anchor>Events in April</anchor> <link> http://simple.wikipedia.org/wiki/April#Events_in_April</link> </sublink> </links> </doc>
etc.
http://download.wikimedia.org/enwiki/20070124/ - "page abstracts for Yahoo" - what is this file?
[... snip ...]
<title>Wikipedia: April</title> <url>http://simple.wikipedia.org/wiki/April</url> <abstract>
April is the fourth month of the year with 30 days. The name April comes from that Latin word aperire which means "to open".
</abstract>
Just out of curiosity, how is that abstract generated, and could it be generated quickly on the fly?
The reason I ask is that sometimes I'm reading an article, and see a linked term, and ask "What's that?". A lot of the time, I don't particularly need or want the full explanation - a quick two or three sentence summary would do fine.
In such a situation, hovering a mouse cursor over the link, and having some JavaScript fire off to fetch the two or three sentence abstract, which was then shown in a tooltip, could be ideal.
All the best, Nick.
Nick Jenkins wrote:
http://download.wikimedia.org/enwiki/20070124/ - "page abstracts for Yahoo" - what is this file?
[... snip ...]
<title>Wikipedia: April</title> <url>http://simple.wikipedia.org/wiki/April</url> <abstract>
April is the fourth month of the year with 30 days. The name April comes from that Latin word aperire which means "to open".
</abstract>
Just out of curiosity, how is that abstract generated, and could it be generated quickly on the fly?
The reason I ask is that sometimes I'm reading an article, and see a linked term, and ask "What's that?". A lot of the time, I don't particularly need or want the full explanation - a quick two or three sentence summary would do fine.
In such a situation, hovering a mouse cursor over the link, and having some JavaScript fire off to fetch the two or three sentence abstract, which was then shown in a tooltip, could be ideal.
All the best, Nick.
http://en.wikipedia.org/wiki/Wikipedia:Tools/Navigation_popups
-Gurch
In such a situation, hovering a mouse cursor over the link, and having some JavaScript fire off to fetch the two or three sentence abstract, which was then shown in a tooltip, could be ideal.
All the best, Nick.
http://en.wikipedia.org/wiki/Wikipedia:Tools/Navigation_popups
-Gurch
Very nice! It even does popups on your popups, which is kind of fancy ;-)
It looks to just be the first two sentences of the article.
Well I was looking for something that removes tables / disambiguation notices / etc at the start of articles - but the Navigation popups seems have this well and truly covered ;-)
All the best, Nick.
On 1/30/07, Nick Jenkins nickpj@gmail.com wrote:
http://download.wikimedia.org/enwiki/20070124/ - "page abstracts for Yahoo" - what is this file?
[... snip ...]
<title>Wikipedia: April</title> <url>http://simple.wikipedia.org/wiki/April</url> <abstract>
April is the fourth month of the year with 30 days. The name April comes from that Latin word aperire which means "to open".
</abstract>
Just out of curiosity, how is that abstract generated, and could it be generated quickly on the fly?
It looks to just be the first two sentences of the article.
wikitech-l@lists.wikimedia.org