Ever wanted to embed media in the body of your entry? Now you can with custom tags. There are currently six custom tags available. Below I will provide a list of currently available custom tags and an example of their usage and a description of what they do. The custom tag needs to be surrounded by double square brackets like so [[tag:value]]. I would put the brackets in the actual example but the blog would try to replace the example, so that won't work.
- thumbnail
- thumbnail:filename.jpg
- The thumbnail custom tag will embed a small version of the image that you can click on to view a larger version of the image.
- image
- image:filename.jpg
- The image custom tag will basically just place a copy of the desired image in the body of your text.
- youtube
- youtube:uniqueid
- The youtube custom tag is used to embed a youtube video in the body of your entry. Just grab the id of the video from the url of the video. Look in the url for v=(some long string of characters). Don't put the "v=" in there.. you just want the string of characters.
- googlevideo
- googlevideo:uniqueid
- The googlevideo custom tag works the same as the youtube custom tag. Look for the id of the video from the url. It's the parameter after the "docid=". Yes, it does start with at "-". You need to include the "-".
- resourceurl
- resourceurl:filename.jpg
- The resourceurl custom tag returns the url to a given attachment. There are uses for this tag, but not for novices.
- slideshow
- slideshow:filename1.jpg,filename2.jpg,filename3.jpg
- The slideshow custom tag will embed a slideshow of the images listed. This tag will always exist but most people will probably choose to use the upcoming slideshow entry feature. I know that doesn't make sense to anyone, but it will in the future. Trust me.
The recommended way to use custom tags is to attach files to your entry the way you normally would, then mark them as hidden in the entry's attachment list. Then, throughout the entry you can place your custom tags that refer to those attachements.
For fun, I'm going to end this entry off with a youtube custome tag. The tag looks like this: youtube:bi1TySrHjUU. Remember, this should be wrapped in double square brackets"[[" and "]]". The url of the video is http://www.youtube.com/watch?v=bi1TySrHjUU. Notice the string of text after "v=". That's the id.