captainsblog: (Default)
[personal profile] captainsblog
This is a test.

(iframe src="http://www.facebook.com/widgets/like.php?href=http://captainsblog.livejournal.com/814526.html"
scrolling="no" frameborder="0"
style="border:none; width:450px; height:80px")(/iframe)

----

Maybe I should explain this. Or maybe not; considering how many comments I've gotten for an essentially blank post, I'm wondering if I've been seriously overthinking this "content" business.

Our friend Joss is to blame. She posted an entry on her blog earlier today, rather begging and pleading for the code that would let her insert a "like" button linked to Facebook at the end of her blog entries. I did some poking about, and discovered a Developer page that showed the magical code to do this.



It looks like this, using Google as the like-able example, only the parentheses at either end of the string are actually left and right brackets, those mystical points of entry and exit into the Kingdom of HTMLand:

(iframe src="http://www.facebook.com/plugins/like.php?href=www.google.com" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:450px;" allowTransparency="true")(/iframe)

Trouble is, when you run it through the Facebook wizard to generate that code for the same site (or mine, or Joss's, or anybody's), here's what at least I get (again, I'm replacing the brackets with parentheses so it will display here):

(iframe src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fwww.google.com&layout=standard&show_faces=true&width=450&action=like&colorscheme=light&height=80" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:450px; height:80px;" allowTransparency="true")(/iframe)

See all those goofy % signs and 3A's and 2F's and other Battleship moves? Those are being rendered incorrectly by (a) Facebook in the first place, (b) my blogging interface (Semagic, if you must know), (c) LiveJournal, (d) Firefox (although IE does the same damn thing), (e) my control panel keyboard settings, (f) all of the above, or (g) none of the above.

It's got me swinging, and I have just officially quit trying to try. If you like my post, link to it on your Facebook page and say so. Kthnxbye?

Date: 2010-08-18 09:02 pm (UTC)
From: [identity profile] thanatos-kalos.livejournal.com
...of the emergency broadcast system?

Date: 2010-08-18 09:13 pm (UTC)
From: [identity profile] sturgeonslawyer.livejournal.com
Did I pass? Nobody said there was going to be a test!

Date: 2010-08-18 09:24 pm (UTC)
From: [identity profile] digitalemur.livejournal.com
Aww crap, I hate pop quizzes.

Date: 2010-08-19 01:43 am (UTC)
From: [identity profile] captainsblog.livejournal.com
Pop is not what's going to be required after this particular exam.

"My advice to you... is to start drinking heavily."
-Sen. B. Blutarski

Date: 2010-08-19 12:15 am (UTC)
From: [identity profile] baseballchica03.livejournal.com
This is only a test. Do not attempt to adjust your set.

Date: 2010-08-19 12:18 am (UTC)
From: [identity profile] bill_sheehan.livejournal.com
Had this been an actual emergency, the alert tone you just heard would be followed by the sound of running feet.

Date: 2010-08-19 12:38 pm (UTC)
From: [identity profile] glenmarshall.livejournal.com
It's perfectly good iframe code, However, LJ does not like iframe. RTFM for extra points.

Profile

captainsblog: (Default)
captainsblog

May 2025

S M T W T F S
    123
45678910
11121314151617
18192021222324
25 262728293031

Most Popular Tags

Style Credit

Expand Cut Tags

No cut tags
Page generated Feb. 9th, 2026 07:47 am
Powered by Dreamwidth Studios