Normalizing of names/titles in links for fund-raising

Moderators: kcleung, Wiki Admins

Lyle Neff
active poster
Posts: 680
Joined: Wed Mar 14, 2007 3:21 pm
notabot: 42
notabot2: Human
Location: Delaware, USA

Normalizing of names/titles in links for fund-raising

Postby Lyle Neff » Sat Jul 05, 2008 10:00 pm

Hello,

I've noticed that there are now links included when searching a title that go to Amazon.com for 10% contribution to IMSLP for purchase.

These llinks do not work in Amazon if there are diacritics in the titles or composers' names.

Is there a way to normalize the pre-set links to the Amazon to remove diacritics? (I'm using "normalize" in the sense that I used to hear in library circles for coding/searching -- i.e., removing any diacritics.) This would be good also for general searching within IMSLP. :D

imslp
Site Admin
Posts: 1606
Joined: Thu Jan 01, 1970 12:00 am

Postby imslp » Wed Jul 09, 2008 5:22 pm

This has actually been a big issue way before the advertising. The sorting order for pages with diacritic letters are out of whack, and I have been trying in vain to fix this for a long time. As simple as one would think removing diacritics would be, it is actually quite hard, especially with all the different encodings. But this is high on my todo list, so don't worry :)

ras1
active poster
Posts: 164
Joined: Thu Jul 26, 2007 8:28 pm

Postby ras1 » Wed Jul 09, 2008 8:21 pm

Is there a way we can help remove diacritics? Or does it require more privileges?

imslp
Site Admin
Posts: 1606
Joined: Thu Jan 01, 1970 12:00 am

Postby imslp » Wed Jul 09, 2008 8:30 pm

What I am looking for is PHP code that can actually do a thorough job of this. I have yet to find one, though admittedly other things have been demanding my time.

Lyle Neff
active poster
Posts: 680
Joined: Wed Mar 14, 2007 3:21 pm
notabot: 42
notabot2: Human
Location: Delaware, USA

Postby Lyle Neff » Wed Jul 09, 2008 9:15 pm

Thanks for looking into this. I would assume that some kind of accessible "side" index or process would be needed, but I'm no systems person. I have no idea how systems like WorldCat (OCLC), Google, etc. make possible searches by removing diacritics inserted by the searcher.

Generoso
active poster
Posts: 266
Joined: Mon Mar 12, 2007 1:49 pm

Postby Generoso » Wed Jul 09, 2008 10:00 pm

Is this something like what you are looking for?


http://wiki.greenstone.org/wiki/index.php/How_to_handle_diacritics

Good luck
Generoso

imslp
Site Admin
Posts: 1606
Joined: Thu Jan 01, 1970 12:00 am

Postby imslp » Wed Jul 09, 2008 11:08 pm

Unfortunately that is Perl and not PHP, and furthermore it is exactly the method I like to avoid, because there will very likely be encoding issues.

Fortunately, however, I did do some research on this in the past few hours, and have found an elegant and problem-less way to implement it. In fact, I have already added this feature in my own version of the code; will most likely upload it to IMSLP tomorrow or the day after, along with other fixes.


Return to “Feature Requests / Bug Reports”

Who is online

Users browsing this forum: No registered users and 1 guest