DonationCoder.com forum
 
Read-only archive. This is a static copy of the DonationCoder.com forum. Reading and searching work as before; logging in, posting and private messages do not.
Archive of 2026-10-21 · About this archive · Main site

Author Topic: [Bug report] Bad core-aliases  (Read 10,380 times)

ThalSwe

  • On my way
  • Supporting Member
  • Joined in 2007
  • **
  • Posts: 48
[Bug report] Bad core-aliases
« on: January 20, 2008, 05:24 AM »
Was way to bored tonight and went trough the core aliases after finding that the built-in Torrentz search was broken to simply check what else had been updated/changed to brake the functionality.

No results:
Torrent - Torrentz (looked like a minor change in their seach code)
Music - Ubl (too lazy/tired to check as its...way to late/early at the moment)
Lookup - Brainboost (see above)

Other:
Music - AMG
Got errors using the AMG aliases but as one came through (artist) after a while of waiting it might be due to the page rather then a bad alias.
News - BBCNews/BBC
The search string is different for both but it still produce the same results. Should both be there or did I miss the point in having two different BBC-aliases?

Nothing big and maybe nothing wrong other then on my machine (as my computer basicly is the most evil thing since...well ever) but wanted to help out with something. Also did a quick check to see if any of these had been reported before but didnt find anything but sorry if its old news.

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,931
    • Gathering Badge
    • Plugin Coding Medal
    • Participated in NANY Challenge Seventeen Times
    • Cody Award
    • Coding Snacks
    • Volunteers/Staff
Re: [Bug report] Bad core-aliases
« Reply #1 on: January 20, 2008, 01:06 PM »
Thanks for the report -- and keep 'em coming.. i'm guessing that a few of the web-based aliases need updating.

lanux128

  • Global Moderator
  • Joined in 2005
  • *****
  • Posts: 6,277
    • Coding Snacks
    • Volunteers/Staff
    • Gathering Badge
    • Participated in NANY Challenge Once
    • Linux User
Re: [Bug report] Bad core-aliases
« Reply #2 on: January 20, 2008, 03:29 PM »
News - BBCNews/BBC
The search string is different for both but it still produce the same results. Should both be there or did I miss the point in having two different BBC-aliases?

it's just the change in the search links, that's the reason some of the aliases are prefixed with "Core". in the event of any changes, a Farr update should be able to rectify the problem with the new links. isn't that so, mouser?

as for the difference, one is for BBC Sports and News and the other is for All of BBC. click on both to see the difference. btw, here are the new links to the BBC search query. i don't use the others that much so i'm not sure..

• http://www.bbc.co.uk/cgi-bin/search/results.pl?tab=ns&q=
• http://www.bbc.co.uk/cgi-bin/search/results.pl?tab=all&q=

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,931
    • Gathering Badge
    • Plugin Coding Medal
    • Participated in NANY Challenge Seventeen Times
    • Cody Award
    • Coding Snacks
    • Volunteers/Staff
Re: [Bug report] Bad core-aliases
« Reply #3 on: January 20, 2008, 03:52 PM »
Quote
a Farr update should be able to rectify the problem with the new links. isn't that so, mouser?
yep, just needs an update of the core alias files.

lanux128

  • Global Moderator
  • Joined in 2005
  • *****
  • Posts: 6,277
    • Coding Snacks
    • Volunteers/Staff
    • Gathering Badge
    • Participated in NANY Challenge Once
    • Linux User
Re: [Bug report] Bad core-aliases
« Reply #4 on: January 20, 2008, 03:56 PM »
ok, i had some free time so here goes..

• Torrent - Torrentz - link changed; new link: http://www.torrentz.com/search?q=
• Lookup - Brainboost - Brainboost was acquired by Answers Corporation in Dec.2005
• Music - Ubl - once again restructuring by parent company, Artistdirect, Inc.
• Music - AMG - has different options for artist, album or song search. the existing alias didn't differentiate between the 1st two but it's fixed now.

the new AMG links for artist, album and song (in that order):
http://www.allmusic.com/cg/amg.dll?P=amg&opt1=1&sql=
http://www.allmusic.com/cg/amg.dll?P=amg&opt1=2&sql=
http://www.allmusic.com/cg/amg.dll?P=amg&opt1=3&sql=

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,931
    • Gathering Badge
    • Plugin Coding Medal
    • Participated in NANY Challenge Seventeen Times
    • Cody Award
    • Coding Snacks
    • Volunteers/Staff
Re: [Bug report] Bad core-aliases
« Reply #5 on: January 20, 2008, 03:58 PM »
Great.. maybe someone can put together new .alias files from these posts and make it available for downloading easily.. then i'll add it to the next update.

jgpaiva

  • Artificial Idiocy
  • Global Moderator
  • Joined in 2006
  • *****
  • Posts: 4,727
    • Cody Award
    • Participated in NANY Challenge Once
    • Coding Snacks
    • Portugal Inhabitant
    • Linux User
Re: [Bug report] Bad core-aliases
« Reply #6 on: January 20, 2008, 04:41 PM »
Ok, i've fixed the ones lanux mentioned. See attachment.

PS: i suppose brainboost and ubl were to be removed. I commented those 2 entries.

lanux128

  • Global Moderator
  • Joined in 2005
  • *****
  • Posts: 6,277
    • Coding Snacks
    • Volunteers/Staff
    • Gathering Badge
    • Participated in NANY Challenge Once
    • Linux User
Re: [Bug report] Bad core-aliases
« Reply #7 on: January 21, 2008, 02:51 AM »
jgpaiva, you missed the News - BBCNews/BBC alias.. ;) btw, how do you edit the read-only Core-aliases?

jgpaiva

  • Artificial Idiocy
  • Global Moderator
  • Joined in 2006
  • *****
  • Posts: 4,727
    • Cody Award
    • Participated in NANY Challenge Once
    • Coding Snacks
    • Portugal Inhabitant
    • Linux User
Re: [Bug report] Bad core-aliases
« Reply #8 on: January 21, 2008, 11:42 AM »
Oh... Oops. To edit them, you just go into the folder and edit the .xml. Or ou move them from "installed" to "mycustom" and then edit them from farr.

I'll try to fix those in a few days.

lanux128

  • Global Moderator
  • Joined in 2005
  • *****
  • Posts: 6,277
    • Coding Snacks
    • Volunteers/Staff
    • Gathering Badge
    • Participated in NANY Challenge Once
    • Linux User
Re: [Bug report] Bad core-aliases
« Reply #9 on: January 21, 2008, 12:20 PM »
I'll try to fix those in a few days.

no problem, jgpaiva.. i'll do it since it's only a minor change. and here's the new news alias..

jgpaiva

  • Artificial Idiocy
  • Global Moderator
  • Joined in 2006
  • *****
  • Posts: 4,727
    • Cody Award
    • Participated in NANY Challenge Once
    • Coding Snacks
    • Portugal Inhabitant
    • Linux User
Re: [Bug report] Bad core-aliases
« Reply #10 on: January 21, 2008, 05:44 PM »
Cool!
Thanks lanux! ;)

lanux128

  • Global Moderator
  • Joined in 2005
  • *****
  • Posts: 6,277
    • Coding Snacks
    • Volunteers/Staff
    • Gathering Badge
    • Participated in NANY Challenge Once
    • Linux User
Re: [Bug report] Bad core-aliases
« Reply #11 on: January 22, 2008, 12:23 AM »
you're welcome jgpaiva. :) btw, why does music alias contains ^music (.+) while the others are formatted this way: ^search (.*). any particular reason?

jgpaiva

  • Artificial Idiocy
  • Global Moderator
  • Joined in 2006
  • *****
  • Posts: 4,727
    • Cody Award
    • Participated in NANY Challenge Once
    • Coding Snacks
    • Portugal Inhabitant
    • Linux User
Re: [Bug report] Bad core-aliases
« Reply #12 on: January 22, 2008, 12:59 AM »
I have no idea :)

But probably it makes more sense to have the ^music (.*)$ alternative...

Original address: https://www.donationcoder.com/forum/index.php?topic=11928.0