A del.icio.us API python script for co-ordinating multiple accounts

23-June-2006

[ kind=progress report ]
If, like us, you have several different del.icio.us accounts which you would like to post to, these scripts might be for you. We've just written a python script which makes it pretty easy to automate workflows between mutually trusted accounts.

We are big fans of del.icio.us here at KnowNet, and maintain our own bookmarking pretty avidly (see for instance my linklog). We're also proselytisers for the 'data outside' approach to managing the different aspects of a project's content-management needs, and we've worked hard to train our project colleagues in the use of social bookmarking systems. This inevitably leads to people having multiple del.icio.us accounts that they have an interest in, which can become awkward.

Sshot-Manage-Delicious

Of course, that's what the del.icio.us API is there for :o) Yesterday we wrote a script (python) which we've started using to copy items with certain tags between mutually trusting accounts. We've run it to create the beginning content for three project accounts so far (pulling this content in from four main accounts in various combinations), and have set up chron jobs to maintain the synching workflow nightly.

Sshot-Del-Bms-Small

The first screenshot shows the simple form used to do a batch copy between accounts (the chron jobs just use the same parameters as arguments in a url). The second screenshot shows a tag cloud displaying tags for a project account which includes many items pulled in using the API script. See EGCRF's del.icio.us bookmarks. We'll be publicising the nookmarks tag clouds for other project sites soon.

Please let us know if you're interested in the script. For historical reasons, it requires Plone and a little product of ours called KNUtilities.



Mike Malloch; 23-June-2006 12:58:08 forum (0)

1 trackbacks.

Latest trackback link:
[The Wales-Wide Web], Yup! We're always doing 'other' other things - and that context is important., 26-June-2006 12:39:41

Knotes version 0.85 is available

18-June-2006

We've continued to make steady progress on features and stability in Knotes. Version 0.85 is now available from our downloads area and from Sourceforge.

Apologies for this hasty post - we really have been hammering at the paid-for-projects recently, so haven't got much time for documenting our progress. The good news on this front is that we are about to draw lines under the administrative work for two very labour-intensive european projects; when that's complete we'll have much more time to spend on documenting progress, building connections with other developers and community-site managers, and collaborating on experiments using knotes as part of educational and community-building experiments. The text below is taken from the brief announcement I just made on our knownet site:

Knotes is now available in a new milestone: version 0.85.

See our Knotes download page for download files and other links. There are quite a few new or improved features in this release.

We will be writing up the new features - and producing an outline of our roadmap for Knotes - as soon as we get a chance (sorry, we've been working very hard on paid-for project deadlines, which makes knotes-documentation-time hard to come by).



Mike Malloch; 18-June-2006 09:42:38 forum (0)

KNotes 0.85 is about to be released

02-June-2006

[ development/knotes , Announcement , kind=progress report ]
We're putting the finishing touches on a new tarball of KNotes, which we're placing at 0.85 beta. The tarball will be available from this site by Friday June 9 [ note this is a revision from Monday June 5].

Please note that we have had to put the date back to Friday June 9.

We have been extremely busy improving, testing and just plain using KNotes... though we have not been doing a very good job of blogging about it :o)

We've been hammering out many new features in several areas: collaboration / social software / community building / profiling and portfolios. Many of those features are not yet being used in our production version, but over the next months expect to see an increasing number of special-purpose blogging scenarios and features in our portals.

Our public, mature version of KNotes is about to take a small leap forward as well. We are almost finished preparing and testing a new public beta - 0.85. The tarball will be available here by Monday. SourceForge's site has been having a lot of problems lately, so we're not sure when the CVS version will be updated; please use the tarballs released here for the time being.

I'll try to document some of the new features in this weblog. If you have any questions please feel free to email me -- mike AT theknownet DOT com

Sometime in the next week, I'll also - finally! - be announcing KNotes within Plone.org. Many apologies to the hard-working Plonistas who've had to nag me to get round to this; our procrastination has been in part down to wanting to make the documentation more complete and the skin-ability more thoroughgoing :o}

I plan to work hard over the next 10 days on roadmap documentation. We'll also be starting either mailing lists or special blog_forums for users, administrators and developers, and sometime this summer knotes.net will at last get the facelift it needs.

KNotes can be a very powerful and user-pleasing addition to a Plone portal. Knotes + Plone makes a great platform for experimenting with educational or other applications which combine weblogging with social software and/or other functionalities. If you would like to try making use of KNotes, please let us know how you get on. If you feel you can help with development, documentation, or best-practice illustration, we'd really love to hear from you!



Mike Malloch; 02-June-2006 14:04:45 forum (1)

1 comments.

Latest comment:
Sorry, we've had to delay the release until Friday June 9; 05-June-2006 11:50:59 by Mike Malloch

More progress on microformats in knotes blog entries

25-March-2006

[ structured blogging , kind=progress report ]
Steve has made a lot of progress towards embedding microformats and structured blogging content into knotes weblog entries. He now has "objectless" initial editing working, and has hreview as well as event and is almost finished a special format of our own for google-video content.

I wrote the other day about progress towards microformats and structured-blogging support in knotes:

Steve has the Event microformat type working in a test installation now. Another few days should see tests within our main knotes production version. Other special types should be coming thick and fast after that, some of them for very special uses such as within learners' eportfolios, some of more general use. Exciting developments!

KNotations | Microformat for 'event' working in tests

More progress to report. The editing interfaces and scripts have matured - for instance objectless-editing is now possible (so that users can safely and swiftly invoke the editor formlets and then change their minds) and Steve has a generic macro-based way to creating the formlets. New formats are also supported in his tests: hreview, and our own google-video-clip format (we have clients who are putting workplace-learning video clips into google-video and we want to make it easy to embed the information and players for these in our own content).

This development strand is especially important for our planned e-portfolio work, and for anyone wanting to make it easy to add special kinds of structured content in their weblogs. Watch this space for more progress reports.



Mike Malloch; 25-March-2006 06:11:06 forum (0)

Import / export .zexp a knotes weblog across portals

24-March-2006

[ kind=progress report , development/plone ]
Further to our report that largish-scale plone-wise copying and pasting worked for knotes weblog content, we've just succceeded in exporting a knotes weblog from one Plone portal and importing it into another.

In a post on Monday I noted that it now seems to "just work" when you copy and paste knotes content within a Plone site.

We moved a number of blogs and a few indexFolders full of blogs (and nested folders full of blogs, etc), and merged three blogs into one. All of this "just worked" using copy and paste TTP (through-the-Plone interface). We encountered and repaired two small issues.

KNotations | A case study of medium-scale CMF-wise copy and paste to merge and move knotes weblogs - it just works!

Yesterday we had another fast-action-request to move a year-old knotes weblog from one portal to another. You cannot use TTP copying and pasting between portals (note that by TTP or CMF-wise copying/pasting we mean through the Plone interface - by going into folder_contents view on enclosing folders while in ordinary website view). To copy content between portals it is necessary to go into the ZMI (Zope Management Interface) view and either use ZMI copying and pasting or export and re-import the weblog. We had run into problems with these advanced actions before, and have not tested them in a long time, but thought we'd give it a go.

It just worked. Exporting to a .zexp file from one portal and importing that into another worked fine. Caveats: the weblog was small and had no comments, just blog entries; and we made sure that there were corresponding users in the target portal and imported with the 'save existing ownership information' option.

This is good news for busy site administrators. It means that you should be able to let uysers create weblogs wherever they like, safe in the knowledge that you can move them later, even onto different servers and portals. We are eager to have some help testing advanced admin actions like this - please let us know if you can help.



Mike Malloch; 24-March-2006 19:40:43 forum (0)

Microformat for 'event' working in tests

22-March-2006

[ structured blogging , kind=progress report ]
Steve has just shown me a test portal in which blog entries can have an 'event' microformat embedded in them.

I've mentioned a few times recently that we're working towards using microformats / structured-blogging to allow users to represent special kinds of content within their knotes weblog entries. There are many reasons for taking this route: it allows users to see content-creation as more homogeneous and spontaneous; it represents special content structure in interoperable machine-readable formats; it allows us to generalise the notion of special content types from the point of view of knotes' own interfaces and leave the details to special-type plugins...

The first few special structurings we'll be looking at are: event, google-video clip and embedded RSS, after which we'll be looking at variants on review. See my earlier post in elearning2.0 for a sketch of the merits of embedding live RSS to augment a blog entry (eg as reference list or background-resource links ). See this post in the work-related learning blog for an illustration of embedding google-video content in blog content. Event as a structured-blogging type should be pretty obvious: roughly, it takes the place of the Plone 'Event' content type allowing users to denote upcoming events in an ad-hoc but machine-readable way so that they integrate with portal calendar and can be aggregated into iCal syndication.

Events as microformats embedded in the blog content have the additional advantage that 3rd party harvesters can discover the event-wise information directly from the rendered html / rdf of the blog entry.

Steve has the Event microformat type working in a test installation now. Another few days should see tests within our main knotes production version. Other special types should be coming thick and fast after that, some of them for very special uses such as within learners' eportfolios, some of more general use. Exciting developments!



Mike Malloch; 22-March-2006 15:42:07 forum (0)

1 trackbacks.

Latest trackback link:
[KNotations], More progress on microformats in knotes blog entries, 25-March-2006 07:12:39

Small known styling glitch in firefox for Windows ( webding font for internal navigation )

22-March-2006

[ bugs/knotes/weblogs ]
This is just to note that we know about the small styling glitch in firefox for Windows whereby the webding font is not applied for the togglers and next / prev / top navigation. We'll repair this soon.

I've been meaning for weeks to repair a little glitch in firefox for windows. For some reason the webdings font is not applied to the internal navigation convenience links - togglers for the sidebars, next/prev/top for the entries. I thought I'd be saving some traffic by using one-character 'icons' for these, but soon realised why I'd avoided webdings for all those years...

I have real images to replace the webdings with, and will be making this repair along with a few planned stylesheet improvements as soon as I get a chance - within days.



Mike Malloch; 22-March-2006 15:25:24 forum (0)

How to do a bit of skinning: adding special external-link handling in the NGRF's knotes blogs

21-March-2006

[ kind=documentation/rough , development/knotes/skinning ]
This post is meant to illustrate how to do a bit of skinning or customising of knotes weblogs. I skecth the process of adding special handling of external links in the blogs in NGRF.

We still have much work to do in documenting the features and tricks of managing and customising knotes for site-admin folks. There's also a lot of work remaining to be done in making end-user capable skinning interfaces for knotes blogs. But let's not forget that, being based on Zope, Plone, ZPT, python etc, knotes is already pretty easy to adapt and customise for those with some ZMI skills.

By way of illustration: yesterday morning one of our regular end-user advocates got in touch to complain that the external links in this NGRF weblog entry were not opening in a new window. Sigh. We'd more-or-less forgotten that this was an outstanding feature-request - being web-standards types, we personally hate the idea of targetting external links into new windows and feel it is the user's choice. But we know that it is an important feature for a lot of site managers; in fact we've been through several iterations improving the spoecial handling of external links in the main site content of the NGRF.

We had a good javascript solution in hand, but needed to get that javascript code into the NGRF blogs, and have an onload handler added in those blogs, without stepping on the default behaviour of knotes blogs in other sites. So we made the following simple changes:

  • In the product, we added a dtml-var include near the end of the blog_utilities.js.file, to test for the existence of a site-custom javascript file and include it if it exists (the name of that file is knotes_blog_utilities_extras.js).
  • We added a custom version of that file in the NGRF portal skins / custom folder, and added the javascript code and onload-handler addition there

Since a little bit of CSS was also required by our external-links-handling solution, we added that rule to a site-wide custom css.dtml file which is included if present in the main screen css for knotes weblogs. Note that the knotes screen css includes both a site-wide custom and a blog-specific custom css file if present:

  • knotes_weblog_weblogCustom.css.dtml
  • knotes_weblog_sitewideCustom.css.dtml

All in all it went very quickly, with the change to the product being the time-consuming step. We'll add a similar customisation hook to blog_forum.js.dtml, and will have a close look at the customisation hooks architecture when time allows. We welcome feedback from site managers and developers about how best to add hooks to make it easy for them to meet the needs of their users.

By the way, you may want to check out the little javascript solution - it is a big improvement on the default plone link-scanner because it offers the user extra information and an option to over-ride the behaviour ( a rollover that shows the destination content type and a checkbox for 'open in new window' ). So users can opt out of the new-window behaviour for particular content types (for instance, pdf files may download to their disk in their browser's settings), and the visitor at least can see that the link will open in a new window if they do not untick the checkbox. We'll happily share the javascript code snippet if anyone wants it (about 7K of js).



Mike Malloch; 21-March-2006 08:43:52 forum (0)

A case study of medium-scale CMF-wise copy and paste to merge and move knotes weblogs - it just works!

20-March-2006

[ kind=case-study , development/knotes ]
On Thursday we did a thorough re-organising of the weblogs in the NGRF site. This included merging three weblogs into one, and the moving of folders-full of weblogs from one site location to another. We found and fixed two minor issues; otherwise it just works!

One of the big advantages of developing knotes as a product within Plone / Content-Management Framework (CMF) / Zope is that it enables very powerful site-admin actions, including implementations of the copy and paste metaphors extended over large chunks of content. It turned out to be quite a lot of work ensuring that the metaphor would be sustained for objects and transactions as complicated as knotes requires, but we've done and tested that work as we went along.

In the National Guidance Research Forum (NGRF), we have been using knotes in anger for over a year now. In the process of exploring the uses that site managers and end-users can make of weblogging and discussion, there was a proliferation of weblogs over time (one of the other "advantages" of CMF is that it is very very simple for users to create new weblogs - maybe too simple :o).

In advance of a major symposium Friday, and following on from the big improvements we've recently made to usability, we were asked to rapidly re-organise the main weblogs in the NGRF. See the NGRF group discussions area for the end-result: there are now just 3 weblogs in the main public area. We moved a number of blogs and a few indexFolders full of blogs (and nested folders full of blogs, etc), and merged three blogs into one. All of this "just worked" using copy and paste TTP (through-the-Plone interface). We encountered and repaired two small issues.

This involved hundreds of blog entry and discussion objects, and worked very smoothly and quickly. We're not sure what would happen if tens of thousands were involved, but even at that scale it should "just work".



Mike Malloch; 20-March-2006 11:37:14 forum (0)

1 trackbacks.

Latest trackback link:
[KNotations], Import / export .zexp a knotes weblog across portals, 25-March-2006 06:58:08

knotes on source-forge is up-to-date at version 0.8 and seems to install and work well

20-March-2006

[ kind=progress report , development/knotes ]
We've completed pushing recent improvements into knotes on sourceforge. To indicate that we feel the product is almost at the "it just works" stage, we've incremented it's version number to 0.8 BETA. Please feel free to try installing knotes in your own Zope/Plone set-up. We still have documentation and end-user help to write, and still need to provide an issue-tracking system.

Last week, we completed pushing the recent improvements to knotes into the CVS version and tarballs at the knotes sourceforge area. We've been intensively testing in our own user communities as well as in a variety of test installations. It seems to just work, and end-users seem to just get how to use it, so we feel we're approaching a really useful product. To reflect this, we've incremented the version number to 0.8 BETA. Well done and many thanks to Steve and to our beta testers!

Still to-do are the writing of better admin documentation and end-user help, and the provision of developer forums, issue-tracking, etc. We're attending to those requirements as quickly as other work allows.

We are confident now that other Plone admin folks should be able to install knotes easily and make good use of it to add dynamism, discussion and user-expression to Plone sites. Please do try it out and let us know of any issues you encounter.

We're also confident that knotes with Plone provides a rich and flexible platform for experimental projects looking into variations on the theme of blogging - into uses in learning and community building where the basic behaviours and building blocks of blogging need to be enhanced or contextusalised. That's why we built it, and we're already starting to make progress with some ideas of out own that make use of knotes 'plus'.

If you are an educational researcher or community developer, please get in touch with us and share your ideas; we may be able to help. We're particularly keen to explore lightweight services-oriented approaches in the "web2.0" style - adding microformats, integrating with social bookmarking, etc. We are also eager to enhance the profile-building and user-glu aspects of the knotes member-profile, and to explore the use of knotes + Plone for e-portfolios and personal learning environments.



Mike Malloch; 20-March-2006 11:19:19 forum (0)

1 trackbacks.

Latest trackback link:
[elearning2.0], Back posting after a binge of software development : knotes is now in mature beta!, 21-March-2006 09:07:05