User talk:Sean Colombo
From LyricWiki
| Archive
| |
|---|---|
Other
API
JSON Support
It seems like API doesn't support JSON yet. Will it be implemented in the future?
In fact, I want to fetch API in Googlepage using pure HTML and JavaScript, which is known as AJAX. But we know JavaScript has cross domain limit, because of security of web browsers. I try a proxy solution to overcome this, but fail in the end. :( Below is what I do following AJAX Cross Domain's suggestion.
This doesn't work:
<script type="text/javascript" src="http://www.ajax-cross-domain.com/cgi-bin/ACD/ACD.js?uri=(http://lyricwiki.org/api.php?artist=U2)"></script>
<script type="text/javascript"> alert(ACD.responseText); </script>
But this work:
<script type="text/javascript" src="http://www.ajax-cross-domain.com/cgi-bin/ACD/ACD.js?uri=(http://www.google.com)"></script>
<script type="text/javascript"> alert(ACD.responseText); </script>
Looks like the proxy is denied by API. --Tomin 05:04, 5 May 2008 (EDT)
SOAP .NET Compatibility problems
I've moved the discussion to a sub-page here since it was getting so long. This gist of it is that currently the POST functions don't work for the SOAP in .NET and it's been very hard to fix this. Here is the most recent message:
- I've taken a few cracks at this and I'm basically coming up dry on a way to make this work for .NET without breaking for everyone else and/or completely rewriting the nuSOAP library. I'm gonna try the "lazyweb" thing now: Does anyone know of a way to make nuSOAP work with .NET (ie: comply to the WS-I standard?). Please help! I don't know what else to try at the moment, so any links or examples anyone could provide would be very helpful.
- -Sean Colombo (talk|contribs) 10:12, 26 April 2008 (EDT)
REST API functionality request
Hey Sean, can you please add something like a 404 reply on a non-existing song (so one can check simply by result status), or even better, a checkSong 'method' to the REST API?
It's not really an exact check to check against the string "Not found" to see whether lyrics have been found (alternatively, for fmt=xml, the element <lyrics/> could just be empty, it'd be just as good i guess, and would go with similar things that other websites do, like last.fm, which just keeps elements empty if there simply is no data).
UPDATE: BTW if you're looking for someone to maintain the frontend stuff (SOAP API, REST API, etc), i'd volunteer for this; i can't work on it 24/7 but i can do substantial work on it, so if you're interested please drop a line to internalerror AT_NOSPAM gmail DOT_NOSPAM com
Milosz
- I've been thinking about it, and since a bunch of plugins/apps/sites already depend on the current (and admittedly lame) method, I think the best thing to do would be to change it for a version 2.0 (which would have a different URL).
- Here are my thoughts on version 2.0... everyone, please feel free to comment and add suggestions:
- There should be a more correct failure method.
- It will be at a different URL, so it doesn't need to be backward compatible (but it should be close to make it easy for people to convert).
- It should be more easy to upgrade versions than to change the URL.
- I have to finish this list later... gg
- -Sean Colombo 18:51, 26 May 2007 (EDT)
- You don't need a different request URL, just another request argument containing a version number, like &version=2, which will then make it return like discussed an empty element if no lyrics were found (but implementing searchSong like also being discussed above, would already help)
- -Milosz 16:25, 08 Jun 2007 (CEST)
Could someone please set up REST for full functionality? 196.203.18.57 10:51, 14 September 2007 (EDT)
This Opera widget: http://widgets.opera.com/widget/7046 needs full REST functionality, because it uses Javascript. Could some-one please work on a searching function? Thanks 196.203.20.67 10:15, 4 October 2007 (EDT)
About searchSongs() method
Hello! It would be great to get this function, though there is no reason to stress about it.
Another thing I'm wondering; I can't belive it's hard to get this (and many other) function(s) to work. Am I wrong? If not, why does it take so long to make the functions?
- Hi hi :)
- It's not "hard" so much as there are just a million different things we can be doing to improve things (around here or some of the other sites I've done). So the challenge is just deciding what to do... once I get on it, it should go pretty quickly. I'll try to get on it tonight or tomorrow. UPDATE: This didn't happen :(
- -Sean Colombo 18:45, 26 May 2007 (EDT)
SOAP Functions
Hi,
Just want to say great job and thanks for the webservice. I've been experimenting (in PHP) with the 'get/check/search' functions and so far these are my findings;
checkSongExists this works apart from casing issues such as System Of A Down:CUBErt can't be found (normalising the case for a search/check/get would probably be the best solution rather that create lots of re-directs)
searchArtists doesn't work: always returns Tool and Ozzy Osbourne
searchAlbums doesn't work: always returns two Pink Floyd albums
searchSongs doesn't work: always returns Beethoven:Moonlight Sonata
getSong works (but still has casing issue as above)
getArtist works
getAlbum doesn't work: always returns Staind - Chapter V
Are my findings correct or have I missed something?
I want to use your SOAP webservice in an experimental project and was wondering if there is an estimated completion date for these functions? I think the search functions would be very useful as the users will be typing in the artist/album/song and unless they are letter perfect they will be disappointed :) If there's anything I can do to help get the services up and running I would be very pleased to help if I can.
Thanks again, Simon (si.matthews (AT) gmail (D0T) com)
Ps. Every page viewed in IE7 has a syntax error on line 3 (another reason I don't use it but thought you should know!) also apologies if this is not in an acceptable format.
- Is this searchSongs() fixed now? I still find searchSongs() only returning: song: "'Moonlight Sonata', artist: 'Beethoven'" every time.
- Using the webservice, how do I search for a song if I don't know the artist name?
- Hi,
- Sorry but searchSongs() does not work. The problem is that we have so many items in the database that searching through them (and doing it as rapidly as the API would demand) is too much work for the servers. We haven't been able to come up with a fast enough way to pull it off. If anyone has any ideas on how to do that (or what sub-set of searching WOULD be useful) please let me know.
- That's probably going to be the most likely way that this will get fixed (some sort of limited search).
- -Sean Colombo (talk|contribs) 22:46, 25 March 2008 (EDT)
FLASH API getSongResult
(Basti 15:17, 22 January 2008 (EST)) hi, i'm developing an Air Application using Flex Builder 3 Beta. I included your Webservice. When i call your function getSongResult with an non existing track - i get an xml file with the lyric tag: not found When i call this function with an existing track (air:all i need) i recived an error like this:
this is the message body in the baselyricwiki.as call method:
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<SOAP-ENV:Body SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
<ns7:getSongResult xmlns:ns7="urn:LyricWiki">
<song xsi:type=":string">All I Need</song>
<artist xsi:type=":string">Air</artist>
</ns7:getSongResult>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
this is what i get in the processResult method:
result.message.body: å?�?í�Šn�Ç�´—¡�?��œ?KÀ¡¦?å?�?í�Šn�Ç�´—¡�?��œ
and this is the output of Flex:
Error: SOAP Response cannot be decoded. Raw response: x?í?Mo?@�?ïü?�?*9�ìöRQLäV©d)M«ÚMr?60?U?]´»??ï;°?¸N? ?ËÁ?ç
at mx.rpc.soap::SOAPDecoder/decodeEnvelope()[E:\dev\flex_3_beta3\sdk\frameworks\projects\rpc\src\mx\rpc\soap\SOAPDecoder.as:249]
at mx.rpc.soap::SOAPDecoder/decodeResponse()[E:\dev\flex_3_beta3\sdk\frameworks\projects\rpc\src\mx\rpc\soap\SOAPDecoder.as:223]
at org.lyricwiki::BaseLyricWiki/processResult()[/Users/sebastian_takomat/Documents/Flex Builder 3/PaperCloud/src/org/lyricwiki/BaseLyricWiki.as:678]
at mx.rpc::AsyncResponder/result()[E:\dev\flex_3_beta3\sdk\frameworks\projects\rpc\src\mx\rpc\AsyncResponder.as:73]
at mx.rpc::AsyncRequest/acknowledge()[E:\dev\flex_3_beta3\sdk\frameworks\projects\rpc\src\mx\rpc\AsyncRequest.as:81]
at DirectHTTPMessageResponder/completeHandler()[E:\dev\flex_3_beta3\sdk\frameworks\projects\rpc\src\mx\messaging\channels\DirectHTTPChannel.as:387]
at flash.events::EventDispatcher/dispatchEventFunction()
at flash.events::EventDispatcher/dispatchEvent()
at flash.net::URLLoader/onComplete()
Server Stuff
Slashes and ampersands in titles
This was previous discussed here, but I thought I'd mention again. While pages with multiple ampersands will now work, it appears that pages such as Crosby, Stills, Nash & Young:49 Bye-Byes/America's Children or http://lyricwiki.org/Category:Genre/R&B with a slash and ampersand will break. Is there anything that can be done about this? Twomeanings 19:24, 16 November 2007 (EST)
Uberbot Stuff
Germanic umlaut
Interresating, that the name of your bot contain a Germanic umlaut, but that the bot seems to have a problem with them: [1]
(I've added an deletion request to the from the list removed pages, please delete themm)
I mean, I've no problem do fix such things, but you should check your bot software and the contributes of the bot, to find similary issues.
-- Sarowie 06:23, 19 January 2008 (EST)
Not Categorized Yet
Watch Entire Artists
Hi, is there a way to view all recent changes for an artist? The only way I found is this but that doesn't include all changes. In other words: is it possible to watch an artist namespace? Greets, Firehawk 14:39, 12 December 2007 (EST)
- Hmm, that's a good idea... but no, there isn't a way yet. That's not to say that there couldn't be. I guess we could add a tab to an artist page that says "Watch Artist" and would just batch-watch each of that artist's pages (watching for new pages would be tricky with MediaWiki though). Hmm.....
- -Sean Colombo (talk|contribs) 14:50, 12 December 2007 (EST)
Semantic MediaWiki
Please comment on LyricWiki_talk:Esperanza#Semantic_MediaWiki as you would have to be the one to do anything we might decide on! :-) --Åqúàŧĩkī - É - Ŧ 03:01, 1 March 2008 (EST)
A few things
First off, the reason I started making this post. I noticed that the main page was wasting a lot of space under the left and right columns. Since I had some spare time, I made a test layout at Template:Main Page/Test.
Next, I should be having a lot of spare time over the next week or so and I thought I would try to take a crack at the SOAP API. If you don't mind sending me the code so that I can see what I can do to get it working under 1.11.x and 1.12.x (future-proof it). I also might implement a few of the functions that are missing. Maybe.
And finally, I have a box that I can use for testing things before they go on the live server, if you want. I should be able to get you an SSH login once we get the slave database fixed.
As always, I'm here to help.
- teknomunk (talk,E,歌,A) 03:29, 14 March 2008 (EDT)
Microformats
An anonymous user has posted a comment about microformats in two places on our site (I would think that the discussion will be taking place on LyricWiki talk:Community Portal). I think I had mentioned something about this to you in IRC. I would appreciate you leaving your thoughts on the matter.
- teknomunk (talk,E,歌,A) 04:23, 3 April 2008 (EDT)
Spamalamadingdong.
Spammers got ahead while I wasn't looking. This is just a reminder to myself to sit down for a while and work on bulking up the defenses.
-Sean Colombo (talk|contribs) 17:07, 25 April 2008 (EDT)
MusicBrainz Template
Hey, some time ago I created a template for MusicBrainz artists and releases and asked Teknomunk if he could add this to the Artist template respectively the AlbumFooter template. But he seems kinda swamped, so maybe you could take a look at this. Feel free to adjust the template to your liking. Firehawk 07:11, 26 April 2008 (EDT)
- Recently, we found out what kind of pain the server can get into when updating a template that appears on virtually every page. I looked into it a bunch and I'm hoping I understand it a bit better now. I'm going to give this a shot now to test out our ability to actually handle this. If the site comes to a crawl, you know why! lol.
- -Sean Colombo (talk|contribs) 19:01, 26 April 2008 (EDT)
- Err... nevermind. I don't really know how to put that in there. I tried something out, but there really isn't an effective preview function for templates. Hopefully this is something Teknomunk can try on his test wiki so that I don't break things.
- -Sean Colombo (talk|contribs) 19:06, 26 April 2008 (EDT)
Recent ÜberBot edit
Uberbot uncapped a couple of "M"s that were correctly capped. I'm thinking that the apostrophe messed with its head. Link Kiefer talk contribs admin 00:22, 27 April 2008 (EDT)
STAF
Hey Sean, thanks for the code, it's amazing! :-)
Had to remove some of the code, mainly the backwards compatibility stuff in extras.php to make it work under MW 1.12...now all I need is a working sendmail, as the extension works. *grin* --Jack Phoenix (Contact) 06:17, 1 May 2008 (EDT)
- Glad to see it works. If you run into any other problems, please let myself or Sean know. (by the way, what section of code did you have to remove for 1.12?)
- - teknomunk (talk,E,歌,A) 09:35, 1 May 2008 (EDT)
Pharmacy-for.us
87.252.227.42 has added a couple of spam ads.
King_Nee1114 (talk page • contributions • deletions) 14:52, 6 May 2008 (EDT)
I left this on the spam reports page, but wanted to make sure you got the message, with all that 'Oh Dang' Business...
- Forgot to leave a note here, but I took care of this on the Spam page -Sean Colombo (talk|contribs) 08:28, 9 May 2008 (EDT)
Errors from SOTD update at 02:57, 9 May 2008 (EDT)
Add More to Song Of The Day Queue
Automated warning: Sean, there are only 2 songs left in the queue. Please add more from the Song of the Day talk page.
-ÜberBot 02:57, 9 May 2008 (EDT)
- Good GRIEF! I was working on the queue when ÜberBot snatched the latest SOTD. How did you program it to be psychic?!?!?!? You are a rockin' programmer! *WHEW* I'm goin' to bed. Kiefer talk contribs admin 03:38, 9 May 2008 (EDT)
- Maybe it's you who's psychic since you were already working on the queue before we were told that we were low on songs! Impressive skillz.
- -Sean Colombo (talk|contribs) 08:28, 9 May 2008 (EDT)
Batchmove
King_Nee1114 (talk page • contributions • deletions) 04:00, 9 May 2008 (EDT)
PS, also: Special:Wikify is broken as well.- That's not good. I'll have to get on that. -Sean Colombo (talk|contribs) 08:28, 9 May 2008 (EDT)
Prevent Blanking of pages
King_Nee1114 mentioned something about pages being blanked on User talk:Kiefer, so I wrote an extension to prevent it (if you want it, of course). I've already committed it to subversion, so just grab it from there.
- teknomunk (talk,E,歌,A) 22:29, 9 May 2008 (EDT)
Redxx
I'd just like to make a suggestion: User:Redxx has been here for some time and has done a lot of work here (with a lot of potential: the two of us have been trying to fix up Frank Sinatra). She has always been real careful with her edits, asking to make sure what she was doing was within policy, whenever she had doubts. I think she deserves to be offered admin privileges (I mean, as long as no one has any objections). Also because we always need as much help as possible, and I'm sure she'd be able to help more with the tools. --WillMak050389 21:28, 10 May 2008 (EDT)
- Seconded, even though I'll never hear the end of it. :-] We each have our own niches/specialties/abilities, and she would complement and add new abilities to those. Kiefer talk contribs admin 21:47, 10 May 2008 (EDT)
- I'll jump on the bandwagon here, too.
- King_Nee1114 (talk page • contributions • deletions) 00:39, 11 May 2008 (EDT)
- Great idea, guys. I'll ask her.
- -Sean Colombo (talk|contribs) 13:54, 12 May 2008 (EDT)
Uploading album art
I'm currently being told, whether I'm trying to upload a .jpg, .gif, or .png, that it is "not a recommended image file format." Kiefer talk contribs admin 22:22, 10 May 2008 (EDT)
- Still happening, by the way. I keep trying to upload a picture for Weezer:Weezer (The Red Album) (2008), and keep getting turned down. I'm not used to rejection! Kiefer talk contribs admin 12:55, 13 May 2008 (EDT)
- [2]
- I think something in the file name was tripping things up. I changed the name, and retyped the .jpg part, and it worked
- King_Nee1114 (talk page • contributions • deletions) 17:03, 13 May 2008 (EDT)
- Hmm, weird. What was the original filename?
- -Sean Colombo (talk|contribs) 17:06, 13 May 2008 (EDT)
- No, I changed it a bit. But at least now the file is present...
- King_Nee1114 (talk page • contributions • deletions) 17:13, 13 May 2008 (EDT)
- I'm curious what the name was before you changed it. Maybe if there is an illegal character, we can warn people about that so they don't have the same frustrating experience. -Sean Colombo (talk|contribs) 17:18, 13 May 2008 (EDT)
- It was "Weezer - Weezer (The Red Album).jpg" Perhaps the parentheses? I'll test...be back. Okay, parentheses seem to be fine, so it must have been a weird character in the original link. Something with the period, as I believe I changed everything in the original link except for the period. But something funky happened, because the picture as "Weezer - Weezer (The Red Album).jpg" already existed and should have appeared on the page. Plus, it was having trouble with .jpg, .gif, and .png. Kiefer talk contribs admin 21:14, 13 May 2008 (EDT)
- I guess one of the characters is non-Latin. Even if they look alike: a & 'äåÅ', e & 'é', o & 'ö', and so on. So it's a file name problem, not a file type problem. Or something wrong after uploading? But in this case, it's before uploading.--Tomin 13:00, 14 May 2008 (EDT)
Batch Move
Batch move doesn't seem to be working, though it may be because I am trying to move it with a special character. I was trying to move "Russel Allen & Jorn Lande":* to "Russell Allen & Jørn Lande":* . Just thought I'd let you know. --WillMak050389 18:45, 14 May 2008 (EDT)
Just tried someone different "Anthony da Costa":* to "Anthony Da Costa":* (no special characters in this one) and it keeps giving me the following error: Fatal error: Call to a member function doEdit() on a non-object in /var/www/html/lyricwiki.org/extensions/LyricWiki/Special_BatchMove.php on line 162. Hope that helps! --WillMak050389 19:04, 14 May 2008 (EDT)
+ 

