Serverside Includes in a Post Saturday 2006-03-04
How strange as it may sound, someone wants a SSI inside a post.
Let’s see how it works ![]()
Here it should be:
Its the common header from my web site.
It’s certainly on the same server.
[Edit] Well, it really didn’t work, and it shouldn’t!
The server will by default parse an .shtml document, looking up the SSI commands and insert content. before returning the document to the browser. The PHP pages constructs the web documents on the fly, and the server doesn’t see any .shtml file types.
Searching the web for a while, I found that most people was content with the PHP include, as a good enough replacement for SSI.
Moving the includes to the script is a good thing for most cases, but this means you have to make the decision at coding time. If you want to insert results from a CGI script in run time ( while posting ), you have make a PHP call from within your post, that is executed when someone loads the page containing the post. Kafkaesqui had an answer to that problem in the WP Support forum thread.
Don’t Get Lost in the Tag Cloud! Wednesday 2006-03-01
Word, words, words. We are spreading single words around us on the Internet as never before. It’s a new kind of poetry, where long lists or big clouds of words pop up where ever you go. It resembles the very long lists of uncommented links, so common in the early days of the web. There are tags for finding related posts on a certain blog you visit, or on other blogs. There are syndicated bookmarks, tags on your every blog post and tags on your photos at flickr.
With two hundred words in different font sizes, what do you do? Should you tag? How would you let others make good use of your tags?
I’ll leave the answer to these and other crucial questions to the more experienced bloggers and taggers, and give you some links.
I recommend you first to read Carthik Sharma’s article “Tags are not Categories“, where he makes it chrystal clear, why you should not confuse one for the other. It’s good reading and will set you firmly on track.
Then I suggest that you read two articles by Lorelle. The first one elaborates on “The Problems With Tags and Tagging“. She writes:
“As the blog administrator and writer, tags make sense. In addition to the high concentrated use of keywords in posts, as well as the good use of categories as tags, and inclusion of tags in my posts, I’m doing my best to make sure search engines and tag services can crawl my site and store my information in their database for others to find. But then what?”
Se goes on to answer that last question, providing the pros and cons of using tags.
The other article I want to bring to your attention, is her excellent post on efficient techniques you can use to insert tags into your posts. To know how you go about, you should read “A Tagging Bookmarklet for WordPress and wordpress.com Users“.
Categories are for structure, and tells us what domain a certain class of posts or images belong. Tags are for cross reference between more loosely related posts and may very well span different categories. Let’s keep that in mind as we tag along!
« newer posts



del.icio.us