Embed Talkr Podcast Audio Links into WordPress
Filed in: WordPress — July 18th, 2005
Have you tried the Talkr, the free podcast for your blog? I hope you did, it is interesting and very easy to use. However, the Talkr does not has audio links embed intruction for WordPress users.
No worry, I show you(Surfnux) how to embed Talkr audio links into your WordPress template.
I assume you already registered Talkr free membership, submited your blog RSS feed and got the audio link code like following:
Take note on the "[template variable for permalink]", we will change it later.
Now we need to edit your WordPress template to include the audio link code.
- Open "index.php" for edit.
- Look for "the_content" line like following:
PHP:
-
<?php the_content('Read the rest of this entry »'); ?>
-
- Add the following code under the line:
HTML:Note: I changed "[template variable for permalink]" to "<?php the_permalink(); ?>".
- You should get something like this after editing:
HTML:
-
<?php the_content('Read the rest of this entry »'); ?>
-
<img style="border:none;" src='http://www.talkr.com/images/speaker_20.gif' alt='Listen to this article' border='0' />
-
<a href='http://www.talkr.com/app/fetch.app?feed_id=1234&perma_link=<?php the_permalink(); ?>'>
-
Listen to this article
-
</a>
-
- Save the "index.php" file and upload back to your WordPress template directory.
- You may also want to edit the same to "single.php", "search.php", and "archive.php".
- After you have done, the Talkr audio link should appear at end of each entry.
Thought:
It is not as hard as you thought to embed the podcast audio link into WordPress template.
The "the_permalink();" is a WordPress tag to disply entry's permalink.
By the way, if you are looking for a Podcast receiver, get iPodder(free, as usual).
Comments Feed
TrackBack URL


July 18th, 2005 at 4:54 pm
Wah, you did it man. Thank you for the guides. I am testing it out now.
July 26th, 2005 at 1:50 am
i used talkr with movable type for about a month and it worked great. i switched to wordpress and it’s not converting my posts to audio for some reason. it’s says it can’t find the entry. i compared you code ot mine and they are identical. maybe it’s an rss problem? what do you think?
August 7th, 2005 at 4:30 am
[...] If you use WordPress to power your blog, and want to know how to integrate talkr with it, as I did, check out these instructions that I used. It is a pretty painless process if you have a very basic understanding of HTML and PHP. [...]