Editing User:Lcarsos

Jump to: navigation, search

Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision Your text
Line 62: Line 62:
  
 
==Ruby Importer script==
 
==Ruby Importer script==
===Bugs, Questions, Comments, Heaping Adulation, Scathing Remarks===
 
[[User Talk:Lcarsos#Ruby Importer]] Please post there.
 
 
I'm trying to keep everything organized so nothing gets lost in the shuffle (lost cause, I know, but I can do my small part to battle entropy).
 
 
===Introduction===
 
 
Work on my import-assistant script is progressing. I'm using it to help create pages as I work my way backwards. Currently it is just using information from xkcd's json api and leaving explanation open for you to get.
 
Work on my import-assistant script is progressing. I'm using it to help create pages as I work my way backwards. Currently it is just using information from xkcd's json api and leaving explanation open for you to get.
  
 
I'm working on getting the explanation to pull in. But, managing to guess the right url alone was a difficult task, and it still doesn't get it right for some of the more odd ones, but it would be faster to just find the page manually than code for each exception to the rule. I'm going to do a bit more work on that, but I might just give it up and keep manually copying explanations in. Or at least write out a best-guess of what the url should be to get you close, if you aren't walking backward through the blog entries.
 
I'm working on getting the explanation to pull in. But, managing to guess the right url alone was a difficult task, and it still doesn't get it right for some of the more odd ones, but it would be faster to just find the page manually than code for each exception to the rule. I'm going to do a bit more work on that, but I might just give it up and keep manually copying explanations in. Or at least write out a best-guess of what the url should be to get you close, if you aren't walking backward through the blog entries.
  
I want to be able to pull in the explanation so I can scan through it to get a rough idea of what characters appear to automatically generate Comics featuring ___ categories. But that's a bit of work, including lots of regular expressions ([[Regular Expressions|regex!]]) but it's good practice for basic data mining and pattern recognition.
+
I want to be able to pull in the explanation so I can scan through it to get a rough idea of what characters appear to automatically generate Comics featuring ___ categories. But that's a bit of work, including lots of regular expressions ([[Regular Expressions|!]]) but it's good practice for basic data mining and pattern recognition.
  
 
I've found that already I'm much more productive simply by not having to type in the comic template info. And the page feels much more finished when it has the transcript.
 
I've found that already I'm much more productive simply by not having to type in the comic template info. And the page feels much more finished when it has the transcript.

Please note that all contributions to explain xkcd may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see explain xkcd:Copyrights for details). Do not submit copyrighted work without permission!

To protect the wiki against automated edit spam, we kindly ask you to solve the following CAPTCHA:

Cancel | Editing help (opens in new window)