type in your query to search makeyougohmm
Things that ... make you go hmmtechnology music video art news reviews and muse on the web

September 2, 2008

Sweetcron Bookmarklet (unofficial)

add-ins and toolbars, How To — by TDavid @ 1:30 pm PST

Sweetcron is billed as a host it yourself, very moddable lifestreaming service, think FriendFeed only on your own server with mods galore. It is early, frequently updated code by Yongfook based on the open source CodeIgniter Framework. One noticeably missing Sweetcron feature as of this writing is some kind of bookmarklet.

Before heading out to PAX I whipped up a Sweetcron bookmarklet controller but it wasn’t far enough along to show anybody else. With version 0.4 of my Sweetcron Bookmarklet code, I’m ready to share with other Sweetcron users. Consider this post the official place for updates for future versions, so might want to bookmark this page.

Update 9/9/08 8:20am PST: version 0.5 released. This fixes issues with sweetcron default configuration disallowed characters in the web page tittles being bookmarked. For people upgrading to the new version, you’ll find instructions in the README.txt.

Installation and usage is straightforward, just do the following:

STEP 1. Download (unofficial) Sweetcron bookmarklet (v0.5) and unzip
STEP 2. FTP bookmarklet.php to: /system/application/controllers/admin

STEP 3. Then login to your sweetcron admin area and visit:

yourdomain.com/admin/bookmarklet

You’ll see a page with the bookmarklet code that looks something like this:

sweetcron-bm2

STEP 4. Right click over the "SCBM v0.4" link and drag to your browser bookmarks toolbar.

STEP 5. Now visit a web page, select some text and click the SCBM bookmarklet. A window will popup and allow you to edit the selected content or add new notes, images (image extraction is not automatic) or other HTML. If you are at a page with the meta tags set, these will be automatically extracted and added to the "Tags" section of the Sweetcron Bookmarklet form. Otherwise, you can enter in tags separated by commas. When satisfied with what you want to publish, then click the "Publish Post to Sweetcron Now" button.

sweetcron-bm3

Whatever you added should show up on your Sweetcron page immediately like this:

sweetcron-bm1

If you manage to break something or have suggestions/feedback for making this bookmarklet controller better, feel free to let me know in the comments below.

Browser compatibility
The following browsers have been tested and work with Sweetcron Bookmarklet (unofficial) v0.4:

Firefox 3.x
Flock 1.x
Google Chrome (released today 9/2/08)
Opera 9.5x
Safari 3.1.x

Did this post make you go hmm?

F = please no more posts like thisD = not among your best stuffC = average postB = good post, I liked itA = great post, please create more like this (3 votes, average: 5 out of 5)

Loading ... Loading ...

Maybe Related Posts (plugin generated)

RSS Feed comments for this post 14 Comments »

  1. […] Unofficial Bookmarklet […]

    Pingback by SweetCron Reviews and Resources Roundup | Lifestream Blog — September 3, 2008 @ 10:53 pm PST

  2. […] Un Bookmarklet non officiel […]

    Pingback by Lifestreaming : exemples et ressources autour de Sweetcron | Chroniques du web — September 4, 2008 @ 1:09 am PST

  3. Whenever I try to use the bookmarklet, I get a message: The URI you submitted has disallowed characters.

    Comment by Bruce — September 8, 2008 @ 5:06 pm PST

  4. Can you provide an example link(s) you’re having trouble with, Bruce? Also providing what browser version and OS you are using might be helpful. Thanks.

    Comment by TDavid — September 8, 2008 @ 8:04 pm PST

  5. I am using Mac Leopard, Firefox 3.0.1.
    My sweetcron installation is at brucearnold.org/sweetcron/admin/bookmarklet.

    Comment by Bruce — September 8, 2008 @ 8:31 pm PST

  6. An example of [removed]

    Comment by Bruce — September 8, 2008 @ 8:34 pm PST

  7. Bruce - I didn’t mean for you to publically share the *converted* link that is being used by the bookmarklet, I meant the page you are trying to bookmark, unencoded. I would not recommend sharing the converted link as these links contain your secret cronkey. With that in mind, I removed that from your comment just now, but would strongly recommend you do the following ASAP:

    1. delete the bookmarklet from your Firefox bookmarklet bar.
    2. go into your admin/options and change your cronkey
    3. goto admin/bookmarklet and grab the new bookmarklet code with your new secret cronkey

    Good news is that I did see the problem though from the converted URL. The page has parenthesis in the title and parenthesis are disallowed by the default sweetcron config file. That’s why you are getting that message. You have two choices:

    1. go into your sweetcron config file and make sure parenthesis are added to the allowed characters variable OR
    2. modify the bookmarklet code to filter parenthesis (this will be done in v0.5 of the bookmarklet if you can wait or don’t know how to do JavaScript coding) … OR
    3. do not try to bookmark pages with parenthesis or other disallowed characters in the title

    Here is an example of a URL that you should be able to add successfully without seeing the disallowed character message, please try it and reply:
    http://www.makeyougohmm.com/20080826/5370/

    Can you successfully add this URL without the ‘disallowed character’ message?

    Comment by TDavid — September 9, 2008 @ 6:25 am PST

  8. I can edit the javascript…I just don’t know what changes to make to filter parenthesis.
    What changes should I make?
    Thanks for the help, by the way. I’m excited!

    Comment by Bruce — September 9, 2008 @ 8:01 am PST

  9. Hi Bruce - I just uploaded v0.5. Grab that and replace your v0.4 bookmarklet. That should fix the title disallowed character issue for you.

    Comment by TDavid — September 9, 2008 @ 8:32 am PST

  10. Oops, forgot to mention that the download link is in the post above, you can directly download here:
    http://www.tdscripts.com/dl.php?id=13

    Thanks for using the script :)

    Comment by TDavid — September 9, 2008 @ 8:34 am PST

  11. Wow, so much awesome! Mk, now I HAVE to register a domain already!!
    Thanks for the script, TDavid. You rock!

    Mona :)

    Comment by Mona N. — September 9, 2008 @ 8:41 am PST

  12. Great stuff! It works perfectly.
    It would be great to get automatic image/video extraction, but so far it does the job!

    Comment by Bruce — September 9, 2008 @ 11:22 am PST

  13. ditto on the image extraction, but otherwise immensely useful

    Comment by Martin — September 19, 2008 @ 8:33 am PST

  14. Great job,…!! it work perfectly…

    just have a question, did you think you will add more feature in the future…?
    like poste, video or picture directly, or have a wysiwyg ..!?

    thanks a lot for your job ..!

    Comment by julien — September 23, 2008 @ 5:14 am PST


TrackBack URI: http://www.makeyougohmm.com/20080902/5377/trackback/

Leave a comment


By leaving a comment you consent to the Official Hmm Comment Policy

Return Home

Copyright 2003-2008 KMR Enterprises All Rights Reserved. Privacy Policy