INTERACT FORUM

Please login or register.

Login with username, password and session length
Advanced search  
Pages: [1]   Go Down

Author Topic: Formatting Album name for Wikipedia search (in Links)  (Read 1609 times)

kstuart

  • Citizen of the Universe
  • *****
  • Posts: 1955
  • Upgraded to MC22 Master using preorder discount
Formatting Album name for Wikipedia search (in Links)
« on: February 14, 2013, 05:04:45 pm »

The Links feature is important to me, to answer questions like "Who is playing bass on this album ?".

So, I added Album versions of the AMG and Wikipedia searches.

I grabbed the Wikipedia one from an old thread, but it is not working too well (characters like " ' " end up as %27 and then don't work).   I'd also like to add " (album)" to the end, since most Wikipedia pages on albums need that to distinguish from other uses of that word or words.

So, any help on how to specify the search would be appreciated !

MrC

  • Citizen of the Universe
  • *****
  • Posts: 10462
  • Your life is short. Give me your money.
Re: Formatting Album name for Wikipedia search (in Links)
« Reply #1 on: February 14, 2013, 05:55:12 pm »

What do you have now?

Wikipedia album pages have varying disambiguating text at the end of an album name:

(album)
(Artist_Name_album)
(Date_album)

sometimes with Artist_ appended, sometimes not.
Logged
The opinions I express represent my own folly.

kstuart

  • Citizen of the Universe
  • *****
  • Posts: 1955
  • Upgraded to MC22 Master using preorder discount
Re: Formatting Album name for Wikipedia search (in Links)
« Reply #2 on: February 14, 2013, 06:14:31 pm »

I have:

http:////www.en.wikipedia.org//wiki//Special:Search?search=Replace([Album], / , +)

which came from an earlier thread in this Forum on the subject.

MrC

  • Citizen of the Universe
  • *****
  • Posts: 10462
  • Your life is short. Give me your money.
Re: Formatting Album name for Wikipedia search (in Links)
« Reply #3 on: February 14, 2013, 06:40:27 pm »

Here's a little more, but honestly, I can't see any rhyme or reason to their naming, and their special search isn't very good.  I added "soundtrack" when the genre is soundtrack, so that you're not taken to the film entry.  Sometimes it helps, sometimes it doesn't.  In any case, it gives you an idea how to add to the URL.

http:////www.en.wikipedia.org//wiki//Special:Search?search=removecharacters(Replace([Album]if(isequal([Genre],Soundtrack),/ soundtrack,), / , +), ')
Logged
The opinions I express represent my own folly.
Pages: [1]   Go Up