quasi random (kaolinfire) wrote,
quasi random
kaolinfire

I was going to be all cool...

and wasted four hours or so trying to parse html cleanly to auto-niftify webpages with some randomness passed on via pbrane (in this post). like all those "jive" and "bork" (swedish chef), etc... "translators" do.

I kept hopping between java and perl, not really happy with either for the task.

Found lots of nifty libraries that were all a bit too confusing.

and such.

http://alethe.net/weblator.jsp


URL:


it doesn't work very well. images/stylesheets/hrefs/links don't get rerouted back to the appropriate place. and it doesn't know to ignore text between script tags. and ... it has some other issues.

but it's kinda fun on very simple sites. preferably lots of text and no images. ;) and no javascript. and such.

it's really a shame I spent so much time on so little code, but I kept looking for better ways to do it. found some nice perl utils but couldn't then quite get into the string manipulation to randomly move letters around... found java html parsing libraries, but... I think I'm just too tired now to understand them. and carpal's been tunneling deep into my wrists for a bit. really. I shouldn't be up. I just wanted to accomplish something tonight. had plenty of plans to work on skwerms. and ... didn't. :/
Subscribe

  • feedback loops

    Ah, feedback loops. I was kind of out of sorts, yesterday, and for some reason had a lot of diet coke (to try to feel better, though I "knew" it…

  • What would I say?

    What would I say, if I were here? It's 2014, almost 2015—though on and off this year, I've been sure it was 2015. Something about that number. Next…

  • a list of games....

    A friend recently asked for a list of all the games I have available. And I'd made most of this list up a week ago, for someone else, and figured,…

  • Post a new comment

    Error

    default userpic

    Your IP address will be recorded 

    When you submit the form an invisible reCAPTCHA check will be performed.
    You must follow the Privacy Policy and Google Terms of use.
  • 0 comments