Recent Changes - Search:

SimpleLog wiki

Installing SimpleLog

        MT(gs) users
        DreamHost users

Upgrading

Working with themes

How to

Troubleshooting

Development & resources

IntegrateDelicious

Having del.icio.us automatically post links to your SimpleLog website is very simple.

  1. Log in to del.icio.us and click "Settings"
  2. In the Blogging column, click "daily blog posting"
  3. Click "add a new thingy" (great name!)
  4. Enter information as such, following the key that del.icio.us provides under the form:
job_name: Can be anything you want
out_name: The email address you use to log into SimpleLog's admin tool
out_pass: The password you use to log into SimpleLog
out_url: The full URL of your site plus /xmlrpc/api (ex: http://mysite.com/xmlrpc/api)
out_time: The hour you want links to be posted each day, in GMT (ex: 21 would be 6PM EST)
out_blog_id: 1
out_cat_id: The tag you want these posts tagged with (ex: links)

That's it! del.icio.us will automatically post your most recent links to your site every day around the time you specified.

Custom Del.icio.us Links Titles

You can also have SimpleLog automatically replace the default del.icio.us links post title with one of your choice. Here's How:

  1. Open post_helper.rb in /app/helpers/post_helper.rb
  2. Add the following right after <pre>module PostHelper</pre>:
    def my_delicious_title(title)
   	reg = /^links for \d\d\d\d-\d\d-\d\d$/

   	if reg.match(title)

   		return "Daily Links"

   	else
   	return "#{title}"   	
   	end

    end
  1. In your theme replace replace all references to post.title with my_delicious_title(post.title)
  2. Your links from del.icio.us will now be titled "Daily Links"
Edit - History - Print - Recent Changes - Search
Page last modified on January 08, 2008, at 01:15 PM EST