The site is undergoing an upgrade... please be patient while we fix things as fast as we can. We're keeping a running list of known issues with the current version.
-> Send to a friend

User talk:Sean Colombo/Archive/2008 July

From LyricWiki

Jump to: navigation, search
Archive
Archive
Archive This page is an archive of past discussions. Do not edit the contents of this page. If you wish to start a new discussion or revive an old one, please do so on the current talk page.

Contents

Errors from SOTD update at 02:56, 11 July 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:56, 11 July 2008 (EDT)

{{SongFooter}}/{{AlbumFooter}}

I've got these two additions to make to our more major templates, and I want to just make sure that it is OK that I add them. (Kind of a speak now or forever hold your peace type thing) But if there are no objections, I will apply the changes on Friday.
King_Nee1114 (talk pagecontributionsdeletions) 00:20, 10 July 2008 (EDT)

Sounds good to me. If you leave me a quick note right after you do it, I'll start up the runJobs script a bunch of times so that the job-queue gets taken care of as quickly as possible.
Thanks!
-Sean Colombo (talk|contribs) 08:20, 10 July 2008 (EDT)
Alright, I just updated SongFooter. I'd say wait a bit and then run the script.
I'll do AlbumFooter a little later, keep the site from slogging.
King_Nee1114 (talk pagecontributionsdeletions) 18:58, 10 July 2008 (EDT)
Sweet, thanks for the notice :) It's chewing through the job queue. Feel free to do the next update at any time... those jobs will just get appended onto the end of the queue, so the script will grab them immediately after these jobs are done if they're ready and waiting.
Thanks for updating the templates too :)
-Sean Colombo (talk|contribs) 19:53, 10 July 2008 (EDT)

Batchmove

Sean, I tried to use Special:Batchmove to move "Fitzgerald Ella" pages to "Ella Fitzgerald" and after I hit confirm, I see a PHP error. I think this is a server error. Can I ask you to look into it? --Åqúàŧĩkī - É - Ŧ 15:08, 17 July 2008 (EDT)

All fixed up, thanks for noticing it :)
-Sean Colombo (talk|contribs) 15:44, 17 July 2008 (EDT)

JobQ script

Aquatiki added a bit to {{Song}}, and I subsequently patched it, so we need the script run to chew on the JobQ.
King_Nee1114 (talk pagecontributionsdeletions) 02:17, 18 July 2008 (EDT)

Started... thanks for lettin' me know! :)
-Sean Colombo (talk|contribs) 07:38, 18 July 2008 (EDT)

Errors from SOTD update at 02:55, 18 July 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:55, 18 July 2008 (EDT)

Oh Noes!

I was batchmoving Monica Naranjo to Mónica Naranjo, and everything looked fine on the preview...so I hit confirm...so everything was batchmoved to Mónica Naranjo. I don't know where to go from here...
King_Nee1114 (talk pagecontributionsdeletions) 02:57, 20 July 2008 (EDT)

Yes weird, these accented names do present their fair share of problems don't they? One thing I did notice however was that although, as you rightly say, it looked ok on preview, when I clicked preview again (at the bottom of page) it showed up that it was going to move them to the wrongly titled page.  ЯєdxxTalk 10:57, 20 July 2008 (EDT)
Interesting. I've started looking into it and I think I'm onto something. Will keep you updated!
Thanks for pointing this out!
-Sean Colombo (talk|contribs) 10:58, 20 July 2008 (EDT)
Shweet, it's fixed. The problem was related to the preview and/or the confirmation message since they had to re-embed the names of the pages in the form & they were losing their UTF-8ness there :).
Let me know if you run into any other probs!
Thanks again,
-Sean Colombo (talk|contribs) 11:08, 20 July 2008 (EDT)
Thanks. Much appreciated.
King_Nee1114 (talk pagecontributionsdeletions) 03:35, 21 July 2008 (EDT)


JavaScript format for REST API

Adding an additional format for JavaScript would be a simple way to call the Lyricwiki API using a technique known as "On-Demand JavaScript" (see "On-Demand JavaScript" on ajaxpatterns.org). This format could look as simple as:

<?php
echo 'function lyricwiki(){
 this.artist="$artist"
 this.song="$song"
 this.lyrics="$lyrics"
 this.url="$url"
}';

and would be used like this:

<script type="text/javascript" src="http://lyricwiki.org/api.php?artist=The%20Rolling%20Stones&song=19th%20Nervous%20Breakdown&fmt=js" />
<script type="text/javascript">
alert(new lyricwiki().lyrics);
</script>

I would volunteer in writing (server and client side) code (should be quite simple) and documentation, as I definitely want to get rid of that stupid flash thingy I am currently using ;) (Fuzy 04:29, 26 June 2008 (EDT))

I'm not to familiar with the phrase "On-demand Javascript"... does this just mean that you'd want a JSON return type in addition to HTML/XML/TXT?
-Sean Colombo (talk|contribs) 09:19, 28 June 2008 (EDT)
No, I don't think so. I think the return type is JS TXT:
function lyricwiki(){
   this.artist="The_Rolling_Stones";
   this.song="19th_Nervous_Breakdown";
   this.lyrics="Many words here";
   this.url="http://lyricwiki.org/The_Rolling_Stones:19th_Nervous_Breakdown";
}
We can include/call this function from outside domains. Just like flash's crossdomain.xml, the JS function MUST be located at lyricwiki.org domain.--Tomin 14:42, 28 June 2008 (EDT)
Tomin is right. JS' cross domain limitation does not apply to code files (you can include *.js files from any domain). Therefore, you could include a call to a possible API JS format directly in a document's <head> section (as I wanted to show in the example above). Alternatively, "On-demand JavaScript" (which is dynamically creating <script> tags in a *.html document "on demand") could be used to call the API interactively. However, on-demand or static does not make a difference on the server side. As I mentioned before, I would volunteer in creating and testing this new format, including some samples that illustrate how to dynamically access the REST API with pure JavaScript. I just want to know, whether this format will be accepted, before I waste my time in vain. (Fuzy 05:40, 30 June 2008 (EDT))
That'd be great if you write that & I'd def put it in (just "fmt=js"). The wiring for the API stuff is done already, so for the server-side code, just assume you have an array "$result" with the indexes "song", "artist", and "lyrics". It should be pretty quick to merge in once you have it done.
Thanks, :)
-Sean Colombo (talk|contribs) 06:56, 30 June 2008 (EDT)
Done :) (Fuzy 11:20, 1 July 2008 (EDT))
Hi Sean. I received some comments (use encode_json() and use a callback method with an additional API parameter (optional)) on my blog post that I'd like to incorporate into my code. Have you already changed something on your side? Regards (Fuzy 10:26, 8 July 2008 (EDT))
Hi Sean (once again). I implemented the proposed callback stuff and updated my blog post. There is now an optional parameter which makes client code easier. And please contact me (stf (at) my company) as I would like to help/continue developing (and maintaining) the API stuff.
Hey Fuzy,
I've merged that stuff in for the getSong function and it looks like it's working just fine. Here are some examples: js, json.
Thanks for writing that! :)
-Sean Colombo (talk|contribs) 07:41, 16 July 2008 (EDT)


Please fix the encodings

Please fix the encodings in the soap client. As I told before: If you request a document using a utf-8 request, the server claims to respond in UTF-8 but in fact uses ISO-8859. This is non-standart and leads into many problems. Shouldnt be to hard to fix. Thanks (theomega 06:18, 6 June 2008 (EDT))

The main thread for this convo can be found here: LyricWiki_talk:SOAP#Please_correct_the_Encoding-Handling. And it is quite hard surprisingly. ;) We'll get it though!
-Sean Colombo (talk|contribs) 14:32, 21 July 2008 (EDT)
Got it :)
-Sean Colombo (talk|contribs) 23:58, 21 July 2008 (EDT)

Errors from SOTD update at 02:54, 25 July 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:54, 25 July 2008 (EDT)

Fixed. -Sean Colombo (talk|contribs)


Errors from SOTD update at 02:53, 30 July 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:53, 30 July 2008 (EDT)

Fixed -Sean Colombo (talk|contribs) 08:16, 30 July 2008 (EDT)
Personal tools
LyricWiki Challenge
LyricWiki Challenge + Facebook App
Try the LyricWiki Challenge
Facebook App!
Friend spotlight (info)
Star Trek Wiki

why the ad?