Ce sujet est actuellement indiqué comme "en sommeil"—le dernier message date de plus de 90 jours. Vous pouvez le réveiller en postant une réponse.
1TadAD
Since I don't want my thread becoming about HTML instead of books (*smile*), I'm copying this stuff over to here.
2TadAD
To put a book cover (or any image) in your post
The format you want to type looks like the following.
<img width="XXX" src="YYY">
Replace "XXX" with the width, in pixels, that you want your image. This allows you to scale down big images that might, otherwise, really mess up the layout of a posts. It doesn't matter how big the image is really, that tag will cause it to scale. As an example, the cover above is set to width="150".
Replace "YYY" with the URL (address) of the image you want to use. You can get a cover image off of the book's page. If you use the ones from LT, they sometimes disappear. If you choose one from down in the Amazon section, those are stable. Select the image and:
- if you use Firefox, right click and select "Copy Image Location"
- if you use Chrome, right click and select "Copy Image URL"
- if you use Safari, right click and select "Copy Image Address"
- if you use IE, right click and select "Properties" then select the address field
The result will look something like:
<img width="150" src="http://images.amazon.com/images/P/1558615105.01._SY190_SCLZZZZZZZ_.jpg">
The format you want to type looks like the following.
<img width="XXX" src="YYY">
Replace "XXX" with the width, in pixels, that you want your image. This allows you to scale down big images that might, otherwise, really mess up the layout of a posts. It doesn't matter how big the image is really, that tag will cause it to scale. As an example, the cover above is set to width="150".
Replace "YYY" with the URL (address) of the image you want to use. You can get a cover image off of the book's page. If you use the ones from LT, they sometimes disappear. If you choose one from down in the Amazon section, those are stable. Select the image and:
- if you use Firefox, right click and select "Copy Image Location"
- if you use Chrome, right click and select "Copy Image URL"
- if you use Safari, right click and select "Copy Image Address"
- if you use IE, right click and select "Properties" then select the address field
The result will look something like:
<img width="150" src="http://images.amazon.com/images/P/1558615105.01._SY190_SCLZZZZZZZ_.jpg">
3TadAD
To put a link to a thread (or any Web page) in your post
The format you want to type looks like the following.
<a href="XXX">Your text here</a>
Replace "XXX" with the URL (address) of the thread or Web site you want.
The result will look something like:
My thread can be found <a href="http://www.librarything.com/topic/80260">here</a>
Which comes out as:
My thread can be found here
You can also use an <img> tag at the location of the "Your text here" if you want to make an image link to a URL.
The format you want to type looks like the following.
<a href="XXX">Your text here</a>
Replace "XXX" with the URL (address) of the thread or Web site you want.
The result will look something like:
My thread can be found <a href="http://www.librarything.com/topic/80260">here</a>
Which comes out as:
My thread can be found here
You can also use an <img> tag at the location of the "Your text here" if you want to make an image link to a URL.
4TadAD
To put a link to a specific message in your post
Use the basic format of putting a link to a full page found in the post above.
However, after the URL (address), you want to put a # sign and then the number of the post. It will look something like this:
<a href="http://www.librarything.com/topic/80260#1689433">Your text here</a>
How do you get the message number? Well, right click on the part of the message title that says "Message XX" and:
- if you use Firefox select "Copy Link Location"
- if you use Chrome select "Copy link address"
- if you use Safari select "Copy Link"
- if you use IE select "Copy shortcut"
Use the basic format of putting a link to a full page found in the post above.
However, after the URL (address), you want to put a # sign and then the number of the post. It will look something like this:
<a href="http://www.librarything.com/topic/80260#1689433">Your text here</a>
How do you get the message number? Well, right click on the part of the message title that says "Message XX" and:
- if you use Firefox select "Copy Link Location"
- if you use Chrome select "Copy link address"
- if you use Safari select "Copy Link"
- if you use IE select "Copy shortcut"
5cameling
Useful thread .. you can bet I'll be coming over here often. How kind of you to start this, Tad. And clever too because you're right .... I could have started a whole slew of questions from other LTers turning your challenge thread into an online HTML class.
where was it that I read something along the lines that all it takes is a single flake to start an avalanche of destruction.... ;-)
where was it that I read something along the lines that all it takes is a single flake to start an avalanche of destruction.... ;-)
6TadAD
To change the look of the font
<b>your text here</b> makes something bold
<i>your text here</i> makes something italic
<u>your text here</u> makes something underlined
<strike>your text here</strike> make somethingstruck through
<b>your text here</b> makes something bold
<i>your text here</i> makes something italic
<u>your text here</u> makes something underlined
<strike>your text here</strike> make something
7TadAD
To put a lengthy quote in your post
The format you want is:
<blockquote>Your quote here</blockquote>
Which would look something like:
The format you want is:
<blockquote>Your quote here</blockquote>
Which would look something like:
When in the Course of human events it becomes necessary for one people to dissolve the political bands which have connected them with another and to assume among the powers of the earth, the separate and equal station to which the Laws of Nature and of Nature's God entitle them, a decent respect to the opinions of mankind requires that they should declare the causes which impel them to the separation.
8TadAD
To kill unclosed italics, bolds, etc.
Since you can't edit someone else's posts, how do you close their unclosed italics that are affecting everything that follows? Basically, start a new post and spam closing tags in. Something like:
</i></i></i></i>
Don't worry about having too many...it doesn't hurt when it's a closing tag.
Sometimes you do this and it has no effect. This is because people will sometimes use alternate tags for changing text and you must close with the exact same tag as opened the block. So, if </i> doesn't close italics, try </em>. If </b> doesn't close bold, try </strong>. Etc.
Since you can't edit someone else's posts, how do you close their unclosed italics that are affecting everything that follows? Basically, start a new post and spam closing tags in. Something like:
</i></i></i></i>
Don't worry about having too many...it doesn't hurt when it's a closing tag.
Sometimes you do this and it has no effect. This is because people will sometimes use alternate tags for changing text and you must close with the exact same tag as opened the block. So, if </i> doesn't close italics, try </em>. If </b> doesn't close bold, try </strong>. Etc.
10Whisper1
message #5
I fear I've added many flakes to the avalanche.
Tad,
Thanks for posting this thread. I deeply appreciate you!
I fear I've added many flakes to the avalanche.
Tad,
Thanks for posting this thread. I deeply appreciate you!
11elliepotten
OK, I could kiss you right now - for the first time EVER I have finally managed to add a book cover to a post! It's been nearly two years with no luck, I'm starring you for future reference!
12kidzdoc
Thanks again for your HTML tutorials, Tad. I first learned HTML from your thread last year, and I used your tip in message 2 to adjust the size of the images I posted earlier today.
14ffortsa
Tad, this is great! I'm a computer professional, but on the big machine side, and never got html in my head. This is SO helpful.
15TadAD
Other characters
Ok, to answer the PMs about how did I type HTML brackets in the posts without them being converted...for example, when I type <b>, why didn't it start bold text?
You need to use character entities a.k.a. escape sequences. Escape sequences are sets of characters that get translated into another character by the browser. So, instead of typing < to start an example, I typed <. The ampersand + some characters + the semicolon is the standard format of escape sequences.
NB: The browser translates these characters when it brings them in. If you go back and edit your post, all those escape sequences will have been replaced and you will have to re-enter them.
Some escape sequences that are useful in LT:
< - < (HTML opening character)
> - > (HTML closing character)
[ - [ (Touchstone opening character)
] - ] (Touchstone closing character)
While I'm at it, foreign characters, or any character, can be entered this way using escape sequences of the format &#XXX; where 'XXX' is the numeric code of the character, e.g.: á = á. However, it's much easier (if you're on Windows) to just bring up the character map application (Programs/Accessories/System Tools/Character Map) and select the characters you want into the clipboard.
Ok, to answer the PMs about how did I type HTML brackets in the posts without them being converted...for example, when I type <b>, why didn't it start bold text?
You need to use character entities a.k.a. escape sequences. Escape sequences are sets of characters that get translated into another character by the browser. So, instead of typing < to start an example, I typed <. The ampersand + some characters + the semicolon is the standard format of escape sequences.
NB: The browser translates these characters when it brings them in. If you go back and edit your post, all those escape sequences will have been replaced and you will have to re-enter them.
Some escape sequences that are useful in LT:
< - < (HTML opening character)
> - > (HTML closing character)
[ - [ (Touchstone opening character)
] - ] (Touchstone closing character)
While I'm at it, foreign characters, or any character, can be entered this way using escape sequences of the format &#XXX; where 'XXX' is the numeric code of the character, e.g.: á = á. However, it's much easier (if you're on Windows) to just bring up the character map application (Programs/Accessories/System Tools/Character Map) and select the characters you want into the clipboard.
19alcottacre
#18: Jasmyn, you might drop a PM to Jim and ask him to put it into the group's introductory paragraph, just like the Kitchen and other useful threads are, and that way you can find it there. I do not know a way of altering the thread's title itself, but then, I do not know a whole lot about such things.
21alcottacre
Thanks, Jim!
22jasmyn9
Yay! Thank you. I hadn't had a chance to really read and play around with the instructions and I was afraid I was going to lose the thread down the list somewhere.
23Cait86
Tad, thanks so much for this! I just have a question: I posted an image on my thread. After pressing "Enter" on my keyboard twice, I then typed in the title of the movie I was reviewing. For some reason, the title won't move below the image; instead, it is right next to it.
How can I move it down a few lines?
Thanks!
How can I move it down a few lines?
Thanks!
24TadAD
>23 Cait86::
This is something that has "broken" in LT since last year...they recognize carriage returns after text, but not after images. Not sure if it's permanent or a temporary thing.
Here's what you do...instead of ENTER, type <br>. This inserts a hard carriage return.
This is something that has "broken" in LT since last year...they recognize carriage returns after text, but not after images. Not sure if it's permanent or a temporary thing.
Here's what you do...instead of ENTER, type <br>. This inserts a hard carriage return.
26Whisper1
Thanks Tad! I was going batty trying to figure out why the carriage return didn't work when I posted an image!
27cameling
Tad, how do you post a photograph onto a thread if the photograph is in your folder and doesn't have a URL?
28TadAD
>27 cameling:: ...in your folder...
If, by this, you mean on your local drive? You don't.
You need it up on the Web. There are a lot of sites that will allow you to host pictures for free. I use PhotoBucket, but any that allow you to reference the picture directly will do.
If, by this, you mean on your local drive? You don't.
You need it up on the Web. There are a lot of sites that will allow you to host pictures for free. I use PhotoBucket, but any that allow you to reference the picture directly will do.
29MoonshineMax
Is there any way of fixing broken touchstones such as Ursula K. Le Guin and Ken Kesey, without resorting to links to the relevant page?
31Sundry
Thank you for posting this info!
Sometimes when I post a link to a book, the link is underlined; sometimes it isn't. I'm not familiar enough with posting links to understand why this happens.
Sometimes when I post a link to a book, the link is underlined; sometimes it isn't. I'm not familiar enough with posting links to understand why this happens.
32bonniebooks
>31 Sundry:: I want to know the answer to that too!
33teelgee
I think it's random, there doesn't seem to be any rhyme or reason - or any difference, other than the line. You see the same thing with links to members' names, some underlined, some not.
ETA
OK, here's one thing: a lot of the member names on this page were underlined. The ones that weren't were members I've never clicked on for their profile page. When I came back here after visiting their page, their names were underlined. Nothing profound or very useful, really.
ETA
OK, here's one thing: a lot of the member names on this page were underlined. The ones that weren't were members I've never clicked on for their profile page. When I came back here after visiting their page, their names were underlined. Nothing profound or very useful, really.
34bonniebooks
I thought maybe it might be titles I've clicked on, but then every book I've listed on my threads should be underlined, but they're not so...?
35teelgee
My guess is if you click on one of the non underlined ones now and then go back and refresh the page, it will be. Also, notice that when you put your cursor over a link that isn't underlined, it becomes underlined - coding for the "active link".
36Sundry
> 33 & 35
Thanks! I thought I might have done something wrong when posting the links. As long as the links work...
Thanks! I thought I might have done something wrong when posting the links. As long as the links work...
37brenzi
>33 teelgee: and 35 Terri you're brilliant! That's so interesting.
38Apolline
Can anyone help me? The following line shows up on top of every thread I open, and it has a red script. I'm not sure what it means, but I wouldn't dare click on the link. Any tips?
Warning: Invalid argument supplied for foreach() in /var/www/html/inc_shortcuts.php on line 1708
I'm not spamming, at least not on purpose. Please let me know what I can do.
Warning: Invalid argument supplied for foreach() in /var/www/html/inc_shortcuts.php on line 1708
I'm not spamming, at least not on purpose. Please let me know what I can do.
39TadAD
It looks like a debugging message from LT's PHP scripts. I'd report it to Tim in the Bug Collectors forum.
43FAMeulstee
I had it too, but it is gone now :-)
44BookAngel_a
I'm posting this here so I can find it...
To post a poll on a thread, use this example:
(vote) Should Wives and Daughters count for opposites? (/vote)
Change the brackets to the pointy ones!
To post a poll on a thread, use this example:
(vote) Should Wives and Daughters count for opposites? (/vote)
Change the brackets to the pointy ones!
46lauralkeet
>45 flissp:: Google Docs includes an Excel-like spreadsheet capability, including graphs. And a PowerPoint-like chart application as well. Is that what you're looking for?
47flissp
Thanks, no, not really - I'd like something where I can create a pie chart or a graph and some html would be pumped back at me to reference it (as with the tickers) so that I can cut & paste it.
It was just a thought - I suppose the alternative is to create the chart normally then just convert it into a jpg - I don't know why I didn't think of that in the first place...
Thanks anyway!
It was just a thought - I suppose the alternative is to create the chart normally then just convert it into a jpg - I don't know why I didn't think of that in the first place...
Thanks anyway!
48lauralkeet
>47 flissp:: where I can create a pie chart or a graph and some html would be pumped back at me to reference it
Ah, but you can do that in Google Docs. If you create a spreadsheet and a graph within that sheet, you can share just the graph. Google will give you the HTML code to use e.g., to paste into an LT talk message. et voila:
(I added a height qualifier to the html code Google provides)
Ah, but you can do that in Google Docs. If you create a spreadsheet and a graph within that sheet, you can share just the graph. Google will give you the HTML code to use e.g., to paste into an LT talk message. et voila:
(I added a height qualifier to the html code Google provides)
49TadAD
>45 flissp:: Well, Google Docs will do it, as will Chartle. The latter's charts aren't particularly sophisticated, but you can create it, "share" it (i.e., save it), then post a link to it.
www.chartle.net
ETA: Oh, I see Laura already gave you the Google Docs info while I was typing. :-)
www.chartle.net
ETA: Oh, I see Laura already gave you the Google Docs info while I was typing. :-)
50valerette
I don't know if this is the right place to ask, but does anyone know of a way to make a spoiler-type button, if I want to talk about a book with spoilers but want to give people the choice to click something in my message and then the spoiler would open? I've seen this on other message boards but I don't know if it's possible here.
51flissp
Oooh, I never said thanks for the advice people!
#50 valerette, what quite a lot of people do is put a boldface spoiler warning just before the spoiler bit, then use strikethrough for the spoiler text - it leads your eye away and makes the text easy not to read (boldface and strikethrough instructions here)
...on the other hand, what you ask would be even better if anyone does know how...
#50 valerette, what quite a lot of people do is put a boldface spoiler warning just before the spoiler bit, then use strikethrough for the spoiler text - it leads your eye away and makes the text easy not to read (boldface and strikethrough instructions here)
...on the other hand, what you ask would be even better if anyone does know how...
52TadAD
Short of putting your abridged comments in the post and a link to a full review in your library, I would be surprised if you can do this. LibraryThing suppresses almost all HTML in the forums, so not much can be done.
54SqueakyChu
You read my mind, Tad. I was hoping to once again find the code for the pointy brackets. Thanks!
55richardderus
Why am I having such a bear of a time getting an image in my junk drawer to post to a thread?!?
56LauraBrook
So glad I stumbled across this thread ... several messages are now starred for future reference. Thanks for setting this up, Tad!
57TadAD
>55 richardderus:: I don't have a problem doing it, Richard, as demonstrated by this lovely scene of Beijing Street Meat.
58richardderus
Stephen/Ape enlightened me...I was copying a carriage return and that screwed things up. How he figured that out I will never know...frankly, don't care either...but I'm more careful to copy ONLY the URL and not a space after it.
59TadAD
>58 richardderus:: If you ever want to figure it out, you can look at the HTML for a page that trying to render. All the major browsers have a menu choice named something like "View Source". Then you can see the actual stuff being emitted and look for things like carriage returns where they shouldn't be or missing quotes.
60lyzard
Hi, could someone talk me through the procedure for adding a ticker counter to a thread? Which is the correct code to use, and how should it be inserted? Thanks.
61alcottacre
#60: Most of us use tickers from www.thetickerfactory.com, a website that really walks you through the process, allowing you to set up the ticker the way you like it, and then providing the HTML code to insert into your thread.
Hope that helps!
Hope that helps!
62lyzard
I wasn't sure if it was the HTML code I was supposed to be using - I know that Ticker offer several different sorts of code for different supports, including one that looks like it's for message-boards.
63alcottacre
#62: Yes, you want the HTML code. When you reach the last page, having picked out how you want your ticker to look, there will be both BBCode and HTML codes to copy. You want the HTML.
65alcottacre
#64: No problem! Glad I could help.
66elliepotten
Boosting this thread out of dormancy again, just because I like it better than this year's version...