Skip to main content

Posts

Showing posts with the label Post Code

Embedding A Video In Your Post

One fun and sometimes practical accessory to add to your blog is a video. When added properly , you get a picture, that your readers can click on, and watch a movie, right in front of their eyes. This is called " streaming video ", where the video content is downloaded from the distant server while you watch. Here's a demonstration video that I have used in another post. This is one example of why I prefer to live in California. » www.youtube.com/watch?v=YCoxOReXlHI <object width="480" height="385"><param name="movie" value="http://www.youtube.com/v/YCoxOReXlHI?fs=1&hl=en_US"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/YCoxOReXlHI?fs=1&hl=en_US" type="application/x-shockwave-flash" allowscriptaccess=...

The Post Editor And Spell Checking

Blogger, and the Post Editor, are wonderful tools in helping us produce a legible and quick document on the Internet. Blogging is an easy way of reaching out to the world with our messages, and many folks are doing just that; without interference from porn blogs , many messages are being seen again. Yet the post editor presents us with a major challenge. The post editor is designed to save us from ourselves, and our spelling and syntax mistakes. In whatever language we type, when we make egregious mistakes, the post editor automatically corrects our mistakes. And in some cases, what we type must be used as "commands" to the post editor, or to the browser as it processes the HTML in our blogs.

Editing A Layouts Template

A Layouts template, the template in a New Blogger blog, when published to Blog*Spot (or to a Google Custom Domain) is written in XML, not HTML. A lot of HTML based tweaks won't work in New Blogger. If you force HTML into your template, you may end up with one of the new, cryptic error codes bX-lgwej This says that your post template contains invalid HTML . Are you seeing this error? If so, don't despair. Revert the template back to Classic , so your readers can access the blog. Build a test version of the blog , and work on a New Blogger template, while your readers are accessing the production blog. Take your HTML based template tweaks, that made your Classic blogs unique, and add them as HTML / JavaScript page elements. Test everything, carefully, in all available browsers . When you have a New Blogger template for your blog, looking as you like it, Save the template to a known location. Migrate your production blog to a New Blogger template again. Restore the saved templ...

Beware Gratuitous Line Breaks In Code Listings

Displaying code for complex objects - multimedia (audio / video) , and also photographs (thumbnail / full-size) - takes a lot of browser window space. Generally, more than a single line of text is required. Some browsers can't make line breaks on their own, and if I display a single, unbroken line of code, the code will run off the end of the post column, through the sidebar, into the background margin of the blog, and off the end of the screen. This creates two problems. It makes the code hard to read, with some code not at all visible. With some browsers, it can even cause the post column, or the sidebar column, to end up at the bottom of the page . No good for anybody, that. Whenever I display such code in my blogs, I take care to insert lots of extra line breaks. Adding line breaks makes the code easier to read, which is good. But it creates another problem. If you copy the code from the browser window, you'll copy a lot of extra line breaks, and the code won't al...