On 05/02/2008, Richard Cyganiak <[EMAIL PROTECTED]> wrote:
>
> Yves,
>
> At the time of the previous extraction, there were some audio samples
> embedded in J.S. Bach's article page. They have since moved to their
> own separate page:
>
> http://en.wikipedia.org/wiki/Gallery_of_works_by_Johann_Sebastian_Bach
>
> We don't currently have an extractor for audio files. This would
> require a new extractor, which could be patterned after the
> ImageExtractor, since audio file embedding in Wikipedia uses the
> syntax as image embedding.
>
> I have done some preliminary investigation here:
>
> http://sourceforge.net/tracker/index.php?func=detail&aid=1886782&group_id=190976&atid=935523
>
> If you want to work with the audio files without waiting for a new
> extractor: This link should have all the information you need to
> reconstruct the audio file's URL.
>
Hi, I'm new to this list. I have some significant experience with Wikipedia
( & MediaWiki) now so I hope I can help.
There is a much simpler way to find the file URL than figuring out the file
hash yourself. :)
As you noticed audio files are linked the same way as images, something like
[[Image:Johann Sebastian Bach - The Well-tempered Clavier - Book 1 - 02Epre
cmaj.ogg]]
links to the image page.
[[Media:Johann Sebastian Bach - The Well-tempered Clavier - Book 1 - 02Epre
cmaj.ogg]] links directly to the file, but since the new browser audio/video
player, probably that is less common.
However you can get the path directly like this:
<
http://en.wikipedia.org/wiki/Special:Filepath/Johann_Sebastian_Bach_-_The_Well-tempered_Clavier_-_Book_1_-_02Epre_cmaj.ogg
>
ie replace "Image:" with "Special:Filepath/".
I think this is what you are trying to do?
cheers,
Brianna
--
They've just been waiting in a mountain for the right moment:
http://modernthings.org/
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Dbpedia-discussion mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dbpedia-discussion