Articles Tagged "plug-in"
Now that I’m independent and posting more frequently, I’ve joined the iTunes Affiliate Program to help the site earn its own keep. I host this site on Textattern, an excellent, light weight, and very flexible CMS (Content Management System) and—wanting to work smarter, not harder—decided to write a plug-in that could automatically rewrite any iTunes/iBooks/App Store affiliate URL I post in an articles using my iTunes Affiliate Program ID. This will make it easier to just copy links to music, books, or apps from the appropriate store and not have to run them through a different tool to appropriately tag them to hopefully earn a little commission.
I was running into a small issue on a project that I’ve been developing with the Textpattern CMS: I couldn’t find a tag to convert a title to a “URL-only title” like the Write tab on the admin side does for you. Textpattern has a built-in function named
sanitizeForUrl() which provides this functionality, but no way to get that from the template system.
I happened across the fact that Digg has implemented new ‘smart’ digg buttons on the 6th. The biggest new feature here is that you no longer have to first ‘submit’ an article to get its “digg url” to use with the “Digg This” buttons and can now just reference the article’s permalink instead.