Author Topic: Hey Sprig  (Read 1249 times)

stacer

  • Level 58
  • *
  • Posts: 4641
  • Fell Points: 0
    • View Profile
    • Stacy Whitman's Grimoire
Hey Sprig
« on: October 07, 2006, 04:38:03 PM »
When you get bored again, can you tell me why the LibraryThing on my sidebar doesn't work? Maybe LJ doesn't allow javascript, I dunno.

And I upgraded to a paid account, so I can play with CSS now. If you ever felt like advising me. :)
Help start a small press dedicated to publishing multicultural fantasy and science fiction for children and young adults. http://preview.tinyurl.com/pzojaf.

Follow our blog at http://www.tupublishing.com
We're on Twitter, too! http://www.twitter.com/tupublishing

Spriggan

  • Administrator
  • Level 78
  • *****
  • Posts: 10582
  • Fell Points: 31
  • Yes, I am this awesome
    • View Profile
    • Legacies Lost
Re: Hey Sprig
« Reply #1 on: October 08, 2006, 12:52:14 AM »
Looks like this is the reason:

Code: [Select]
<script language="javascript" type="text/javascript" src="http://www.librarything.com/jswidget.php?reporton=norroway&show=random&header=1&num=5&covers=medium&text=all&onlycovers=1&tag=alltags&css=1&style=4&version=1">

Unless you know what to look for you probably won't see what's wrong.

Your JavaScript code is being "recoded" by your site to display as text and not as code.  It's not a huge change, but a significant one.  The code should be:
Code: [Select]
<script language="javascript" type="text/javascript" src="http://www.librarything.com/jswidget.php?reporton=norroway&show=random&header=1&num=5&covers=medium&text=all&onlycovers=1&tag=alltags&css=1&style=4&version=1"></script>

See the difference at the start and end? There's probably some check box like we use in this four that says something like "Check this if you'll be adding code" or LJ might disable the inclusion of Javascript into their pages to avoid people planting viruses and Spyware with it.
Screw it, I'm buying crayons and paper. I can imagineer my own adventures! Wheeee!

Chuck Norris is the reason Waldo is hiding.


stacer

  • Level 58
  • *
  • Posts: 4641
  • Fell Points: 0
    • View Profile
    • Stacy Whitman's Grimoire
Re: Hey Sprig
« Reply #2 on: October 08, 2006, 02:08:52 AM »
Yep, just found it--LJ blocks javascript. One good argument for going with a different site eventually, dang it. Oh well. It's good enough for now, but I should probably look into my other options eventually, even if to just do a bare-bones site like Cheryl Klein's (www.cherylklein.com), where she is able to link to resource documents as well as her blog all in one spot. I'm thinking that as I start compiling useful resources I'd like to put them all in a central location (booklists, certain essays, that sort of thing).

Oh well. Thanks for looking at that.
Help start a small press dedicated to publishing multicultural fantasy and science fiction for children and young adults. http://preview.tinyurl.com/pzojaf.

Follow our blog at http://www.tupublishing.com
We're on Twitter, too! http://www.twitter.com/tupublishing

Spriggan

  • Administrator
  • Level 78
  • *****
  • Posts: 10582
  • Fell Points: 31
  • Yes, I am this awesome
    • View Profile
    • Legacies Lost
Re: Hey Sprig
« Reply #3 on: October 08, 2006, 03:58:31 PM »
Do they block frames?  Specifcally Iframes?  If they don't I might be able to get it running for you.
« Last Edit: October 08, 2006, 03:58:44 PM by Spriggan »
Screw it, I'm buying crayons and paper. I can imagineer my own adventures! Wheeee!

Chuck Norris is the reason Waldo is hiding.


stacer

  • Level 58
  • *
  • Posts: 4641
  • Fell Points: 0
    • View Profile
    • Stacy Whitman's Grimoire
Re: Hey Sprig
« Reply #4 on: October 08, 2006, 09:28:19 PM »
Nope, it won't.

Quote
In general, you cannot use scripting languages (such as JavaScript) or HTML to embed objects (such as Flash) on LiveJournal. Because this code could pose a security risk to other users, it is stripped from your custom styles, overrides, entries, comments, and user bio before they are sent to a web browser. However, you can embed videos from specific video hosting sites.


( Read More )
Scripting Languages

Scripting languages can be used to retrieve other users' browser cookies, which can compromise the account security for any user who views the page. Developers have investigated alternate ways of allowing these languages, but haven't found a way to allow "safe" scripts while blocking those that create security risks.


Embedding Tags

LiveJournal prohibits use of several HTML tags: <iframe>, <embed>, <object>, and some attributes of the <div> tag. Due to these restrictions, you generally cannot use HTML tags cannot be used to embed music, videos, or other active content such as Flash objects into journal entries. You can only embed videos from YouTube, Photobucket, or Google Video.

If you would like to post entries with music (or video files from other providers), you will need to upload the files to another site and provide a text link to them.


Thanks for checking, though.
Help start a small press dedicated to publishing multicultural fantasy and science fiction for children and young adults. http://preview.tinyurl.com/pzojaf.

Follow our blog at http://www.tupublishing.com
We're on Twitter, too! http://www.twitter.com/tupublishing

Spriggan

  • Administrator
  • Level 78
  • *****
  • Posts: 10582
  • Fell Points: 31
  • Yes, I am this awesome
    • View Profile
    • Legacies Lost
Re: Hey Sprig
« Reply #5 on: October 08, 2006, 09:45:11 PM »
Well that sucks.  I understand why the do it, and most community sites do the same, and this is just a case of a few bad apples ruining things for everyone else.

Though I am surprised they don't allow flash, with JS disabled there's no way for Flash to communicate with the users PC.
Screw it, I'm buying crayons and paper. I can imagineer my own adventures! Wheeee!

Chuck Norris is the reason Waldo is hiding.


stacer

  • Level 58
  • *
  • Posts: 4641
  • Fell Points: 0
    • View Profile
    • Stacy Whitman's Grimoire
Re: Hey Sprig
« Reply #6 on: October 22, 2006, 05:14:59 AM »
Another question for Sprig or anyone else who would know:

What does it mean when at startup I get a blue screen (check disk screen) that says my volume (E drive, external HD) is "dirty"?

It checked it and went on to start up the computer with no message, but my computer has also crashed twice today because of hooking up the external hard drive.

Is there something wrong with it? Or is it perhaps my firewire card having a bad connection and causing miscommunication between the devices?

The external is where I back up my whole entire laptop, and where I store my music because there isn't room on the laptop, so it'd be very important for me to replace it if something's wrong. Any ideas? Or is it just because I plugged the hd in after the computer had been running?
Help start a small press dedicated to publishing multicultural fantasy and science fiction for children and young adults. http://preview.tinyurl.com/pzojaf.

Follow our blog at http://www.tupublishing.com
We're on Twitter, too! http://www.twitter.com/tupublishing

The Holy Saint, Grand High Poobah, Master of Monkeys, Ehlers

  • Administrator
  • Level 96
  • *****
  • Posts: 19211
  • Fell Points: 17
  • monkeys? yes.
    • View Profile
    • herb's world
Re: Hey Sprig
« Reply #7 on: October 23, 2006, 10:00:14 AM »
Quote
Is there something wrong with it? Or is it perhaps my firewire card having a bad connection and causing miscommunication between the devices?

Yes. Possibly either.

Quote
What does it mean when at startup I get a blue screen (check disk screen) that says my volume (E drive, external HD) is "dirty"?

Is it a BSOD? or just a blue screen prompting you to scan it?

I would start by doing a surface scan.

Open My Computer
Right click the drive
select properties
click on the Tools Tab
Click "Check Now" under "error checking"
place check marks in both boxes and then scan.

stacer

  • Level 58
  • *
  • Posts: 4641
  • Fell Points: 0
    • View Profile
    • Stacy Whitman's Grimoire
Re: Hey Sprig
« Reply #8 on: October 23, 2006, 12:10:17 PM »
No, it just freezes and crashes, and on the restart it does a check screen during the startup process. I'll try the scan and see what happens.
Help start a small press dedicated to publishing multicultural fantasy and science fiction for children and young adults. http://preview.tinyurl.com/pzojaf.

Follow our blog at http://www.tupublishing.com
We're on Twitter, too! http://www.twitter.com/tupublishing

Spriggan

  • Administrator
  • Level 78
  • *****
  • Posts: 10582
  • Fell Points: 31
  • Yes, I am this awesome
    • View Profile
    • Legacies Lost
Re: Hey Sprig
« Reply #9 on: October 23, 2006, 03:00:42 PM »
Ya I'd go with what Eric said, hardware is more his deparment then mine, but I'd also try to plug it into a different PC and see if you get the same error.  I'm sure someone at your work has a firewire port especially in the Graphics deparment.
Screw it, I'm buying crayons and paper. I can imagineer my own adventures! Wheeee!

Chuck Norris is the reason Waldo is hiding.


dreamking47

  • Level 5
  • *
  • Posts: 127
  • Fell Points: 0
    • View Profile
Re: Hey Sprig
« Reply #10 on: October 23, 2006, 03:32:12 PM »
Something similar happened to me once with my Creative Zen music player, and since you're storing music on your drive it could be the same issue.  If the directory structure of your music results in really long path/file names -- if you have something like...

E:\MP3\Genre\Rock\Artist\Artist - Album\Artist - Album - Song.mp3

...those long paths can cause temporary errors.  This is especially true if the drive is a cross-platform Mac/Windows drive (and if it's Firewire it probably is).  If that's the case, when you do the disk check it will mention something about invalid long file names, and will fix them for you.

The other thing I can suggest, from my experience with an external DVD writer, is that plugging it *in* after you start the computer shouldn't matter, but *unplugging* it while the computer is on can cause temporary errors.  If while the drive is plugged in you right click it, choose "Properties," go to the Hardware tab, choose it again (don't ask me why), click "Properties" again, and then examine the Policies tab, it will tell you if the drive supports hot-unplugging.

Finally, as always with Windows it's a good idea to check the disk vendor's website to see if they have updated drivers.  Good luck!

MattD
« Last Edit: October 23, 2006, 03:43:55 PM by dreamking47 »
"It had blood in it.  That makes it a good metaphor." -- Tonk Fah, in EUOL's Warbreaker