links for 2009-02-26

Link

[ # ]

root Cookie Path 1.4 an Update for WordPress 2.7

UPDATE: This Plugin has been updated, please comment on the new post, thanks.

I’ve had an e-mail from Edward Laverick saying that my WordPress root Cookie plugin doesn’t work in WP2.7.

I have a few points to make….

  • Not All Cookies are plug-able.
    A google search of the WordPress SVN show’s that there are setcookie actions outside of the avilable pluggable functions; the only way to change these that I know of is to hack the trunk code.
  • Changes to 1.4.
    This new version does work in 2.7… I’ve refined the code in two ways, the plug-able functions are inline with WP2.7 (i.e. any changes in the trunk have been duplicated in this plug-in) and got rid of the bug where the same cookie isn’t set twice.
    I’ve tested this plug-in on my server and ensured that we are changing the cookie path on both the “admin cookie” and the “logged in cookie” so hopefully all will work as expected.
  • Do you really want this plugin ?
    Scott Kingsley Clark has created a sub-domains version of this plugin it’s worth a look if you’re working with blog1.domain.com and blog2.domain.com

As always….

The point of the plugin is to strip out the path from the cookie so that it can be referenced by other applications.

You can download the plugin from wordpress.org, and there is a discussion forum to get community support.

Cheers!

LifeStream Thoughts….

I’m looking to improve linickx.com; I’d like to include more of my online identity, I stumbled across yibble.org and the layout / look / feel is very close to what I’m looking to do. My current theme is tumblr inspired but has it’s limitations, for example if I tweet & blog on the same day my front page has “posts” with duplicate titles :(

A self host tumblr or sweetcron are options except that I like WordPress and I can’t be doing with the hassle with maintaining multiple apps… this is why I stopped using gallery, gallery is a brilliant app I just don’t have the time to keep it and WP and “another” up to date and secure.

I’m going to start exploring WordPress + LifeStream alternatives. The WordPress LifeStream Plugin creates a page like this, which is close to what I want, except I like having my tweets / bookmarks / blogs all mixed up, it keeps linickx.com kinda “organic”. I’m considering a lifestream theme and am hoping that the lifestream blog will provide some inspiration…. the trick is going to be achieving the teh blog ar (not) dead look in a fashion that fits me!

If you know of a good solution… using WordPress, please let me know.

Twitterings

Those with a sharp eye will have noticed there are two “linickx” twitter accounts. I’ve had my main @linickx for some time, although I don’t spam it all the time the linickx.com tweet integration and integration into facebook/mugshot/add_social_site_here.com is cool.

Twitter has been in a lot of main stream media recently, and I’ve noticed that it appears to be becoming a popular replacement for RSS, many non-technicals just don’t “get” RSS but it appears that twitter is providing an alternative source of keeping up with news… rather than just answering the social question “what are you doing?” .

My blog will always have the most interesting content….. of course the definition of interesting is up for debate…. but in an attempt to reach out to those using twitter to follow blogs & news I’ve created another twitter account @linickxfeed; This second account is simply tweeting when I create blog posts… I’m not sure of the etiquette, should tweets from people be mixed with auto-magic stuff from blogs?

Hopefully this approach won’t cause to much confusion, and If it does I’ll just have to delete the account :) So….

links for 2009-02-09

Link

[ # ]

Monit Alerts via Twitter

In a bid to reduce the size of my inbox, I’ve decided to move monit alerts to twitter.
Sadly monit doesn’t support any kind of alert scripting, but the solution is simple.

  1. Create a new twitter account, something like “mymonitbot” and make the feed private.
  2. Set your “normal” twitter account to follow “mymonitbot”
  3. Now signup for an account with twittermail and give them mymonitbot’s credentials.
  4. Edit /etc/monit.conf, and change set alert to your new twittermail e-mail address
    If necessary edit monit’s message layout
  5. restart monit

After a few seconds you’ll get a tweet from your monit bot saying that monit was re-started :)

links for 2009-02-04

Link

[ # ]

links for 2009-02-02

Link

[ # ]