WPMu Development for Education

Making WPMU work in education, one hack at a time

Archive for the 'Twitter' Category

Importing Ning users into WP

Posted by Boone Gorges on 15th April 2010

Today Ning announced that it would be ending its free social networking service. I tweeted something to the effect that this event is a wake-up call: When you use closed-source, third-party hosted solutions for something as valuable as community connections, you are leaving yourself open to the whims and sways of corporate boards. It’s not that Ning is evil or anything – it goes without saying that they need to make a profit – but their priorities are importantly different from those of their users. In the same way that Ning moves from a freemium model to a paid model, Facebook could start selling your crap, Twitter could crash, Tumblr could go out of business, etc.

All this is a good argument to be using software solutions that are more under your control. Like – drumroll – WordPress and BuddyPress.

Enough moralizing. I whipped together a plugin this afternoon called Import From Ning that will allow you to get a CSV export of your Ning community’s member list (the only content that Ning has a handy export feature for, alas) and use it to import members into a WordPress installation.

As of right now, it does not have any BuddyPress-specific functionality. But the data that it does import – display name, username, email address – are enough to populate at least the beginnings of a BuddyPress profile. The next thing to add is the auto-import of certain profile fields. I might try to do this tomorrow. The plugin is based on DDImportUsers – thanks!

Instructions:

  • Download the zip file and unzip into your WP plugins directory
  • Look for the Import from Ning menu under Dashboard > Users (unless you’re running a recent trunk version of BuddyPress, in which case it will be under the BuddyPress menu)
  • Follow the instructions on that page

Download the plugin here.

Related posts:

  1. More Import from Ning goodness – ( Ning to BuddyPress / WordPress )
  2. New WordPress plugin: Simple Import Users
  3. Import From Ning now imports Ning content into BuddyPress

Posted in BuddyPress, Twitter, WordPress, dev.wpmued, edtech, facebook, ning, social networking, wpmu | Comments Off

Twitter on Campus

Posted by Reverend on 6th November 2009

North Carolina State University has really made an impressive case for using Twitter more extensively on campus.  A wide range of departments, organizations, and clubs at NCSU are using Twitter to get announcements, events, and relevant links out to the campus community, and they created a slick aggregation space that brings all of this together cleanly.  They’ve even made the source code for the application they developed freely available to anyone who wants to use it—-major kudos to the NCSU development team.

Now we have been playing around with this idea for a while now, and it seems like we are starting to see a wide range of departments, groups, and affiliated organizations here at UMW are interested in using Twitter for announcements and the like, so—if I can convince Martha—-we are going to hack around in UMW Blogs to try and get our own aggregation point for UMW Tweets that feature news and announcements that are relevant to campus.  The site will be http://twitter.umwblogs.org, and as I see it now, we will be using the Add Link widget to have people drop off their Twitter info, and then pull it all into FeedWordPress so that we can both aggregate and publish the various Twitter streams into one site on UMW Blogs.

You may be thinking to yourself at this point, why not just use the code NCSU so graciously made available? That actually a good question, and my only response is I know nothing about PHP libraries, and rather than setting up a new instance, I’d rather see if we can’t quickly hack together a similar model using the tools we have, a space a large part of our community already is familiar with and regularly visits. If it doesn’t work out, we can always play with the code and PHP libraries I’ve been trying to avoid.

The only issue with the Add Link/FeedWordPress setting is getting the Twitter avatar to appear. I think we can hack the P2 theme to get us most of the way there, but the avatar will be looking for a Gravatar associated with an email, or an Avatar created when a user starts their UMW Blogs account. So what we need to do is make sure anyone who adds their Twitter account to http://twitter.umwblogs.org has a UMW Blogs account. I think we can do this by putting a hacked version of the Add Users/Add Link widget that requires both their UMW email (they will need to be a member of UMW Blogs to add this) as well as their Twitter URL. This will allow us to map the RSS feed in FeedWordPress from their Twitter account onto their UMW Blogs user account. Once this happens, the avatar associated with their account on UMW Blogs (either through Gravatar or the built-in avatar function in BuddyPress) will be associated with their tweets on http://twitter.umwblogs.org, and their tweets will actually link back to their Twitter account.

The more I think through this the more I see it may be better to just figure out NCSU’s setup using their source code and go from there, but I guess I’m a glutton for bad hacks.  We’ll see, but in the mean time is their anyone out their at UMW interested in experimenting on this with us? If so, add your twitter URL here, and let’s get this party started right.

Posted in Twitter, UMW Blogs, WordPress, twitter. devwpmued, umwblogs, wordpress multi-user, wpmu, wpmued | Comments Off

WordPress ‘tweet this’ plug-in

Posted by Randy on 19th October 2009

“Email-this” type links on articles or blog posts are so old-fashioned.  Face it, nobody uses email anymore — or perhaps it is a matter of “nobody goes there anymore, it’s too crowded” (salute to Yogi Berra).  Twitter is the hot property of the moment, so why not Tweet-this.  And of course there is a WordPress plug-in that does exactly that.   I’m giving it a spin on the blog — go ahead and tweet on of the posts and let me know how it works for you.  I saw this technique used on a ComputerWorld article, although their implementation wasn’t quite a neat (not WordPress!).

WordPress › Tweet This « WordPress Plugins

Adds a “Tweet This Post” link to every post and page. Shortens URLs. Can automatically tweet new and scheduled blog posts. Customizable (check screenshots). Also included: Plurk, Yahoo Buzz, Delicious, Digg, Facebook, MySpace, Ping.fm, Reddit, and StumbleUpon support.

New secure password rules

Bottom line: The “absolute” security of the password matters less than the “applied” security of the password once you consider all the threats and use patterns. Sometimes you have to come up with new rules to address new threats and changing work patterns, even if that means getting flamed for challenging the “rules”.

Post to Twitter

Related Posts

Posted in Design, Security, Twitter, WordPress, Yahoo!, blog, email, facebook, plugin, plugins | Comments Off

WordPress in Website Magazine’s top 10

Posted by Randy on 19th October 2009

Website Magazine’s listing of top sites for web pro’s has WordPress.com in the top ten — and twitter only number 12.  Not sure what it means, if anything, but it is interesting to see what their “proprietary method” thinks is important.

Top 50 Websites for ‘Net Professionals – Website Magazine – Website Magazine

Website Magazine’sTop 50 rankings are a measure of a website’s popularity. Ranks are calculated using a proprietary method that focuses on average daily unique visitors and page views over a specified period of time as reported by multiple data sources. The sites with the highest combination of factors are ranked in the first position.

Post to Twitter

Related Posts

Posted in Data, Lifestyle, PLE, Twitter, Web, WordPress, blog, content | Comments Off

Connect your users to their on-line social identities

Posted by Randy on 14th October 2009

I just signed up for a new forum service on building the Herreshoff boat Rozinante.  Wouldn’t it be cool if when you signed up for something like this,  you could tell it to figure out who you are from all your other social network memberships?  Glen Jones has an article on A List Apart, showcasing a new javascript library he’s created that does exactly that?  It might feel a little creepy when you see what it can get – try it out here — but it is all available to someone via Google anyhow.  And it seems to me that this ability to be recognized as an option, utilizing all your existing social capital would be an attractive option for users — maybe students using a university-based social network system (like buddypress?)  Some interesting possibilities here…

A List Apart: Articles: Discovering Magic

Ident Engine discovers and retrieves distributed identities and user-generated content to help you build a little magic into your user interfaces.
Try it out! Enter your profile URLs into the lifestream and combined profile demos.

Ident Engine – Combined Profile

Please enter the web address of a profile page. This could be on Twitter, FriendsFeed, Flickr, Digg or any other web profile page.

Related Posts

Posted in PLE, Technology, Twitter, Web, content, flickr, student, students | Comments Off

What role for social media in higher ed?

Posted by Randy on 12th October 2009

OK, so we’re all trying to figure out what, if anything, social media is useful for — other than having fun and wasting time with friends and family.   The New Media Consortium has put together a site reviewing what they’ve been experimenting with.  We have a group here that is viewing a webinar on October 27 on Effective Use of Social Media for Student recruitment ( if you’re in New Haven and want to join us just let me know.)  I’ve had some success with Twitter in advancing business interests, but nothing I’m ready to wrap an official company strategy around.  I really like LinkedIn (especially for helping students/alumni with career networking), but it seems like Facebook gets all the attention.  And don’t forget blogs — not quite as sexy as Twitter or Facebook perhaps, but still finding a place in college communication efforts.  Talking with peers, experimenting, and exploring — that’s a type of progress, right?

M.I.T. Taking Student Blogs to Nth Degree

Dozens of colleges — including Amherst, Bates, Carleton, Colby, Vassar, Wellesley and Yale — are embracing student blogs on their Web sites, seeing them as a powerful marketing tool for high school students

NMC and Social Media | nmc

n our research work for the Horizon Report, the NMC has been tracking Social Networking/Social Computing since 2005 and we have made extensive use of social bookmarking, photosharing, and Web 2.0 networking tools for our events.

NMC 2009 Summer Conference Social Media Recap | nmc

However I wanted to record, primarily for my own sake, while fresh in my mind a recap of the social media tools we used (and other related factors) for our conference.

Listen and Watch Closely: The Effective Use of Social Media for Student Recruitment WEBCAST « New York Times Knowledge Network

Educational institutions are looking for the best formula to effectively deal with the plethora of social media available. In fact, no one has drawn a bead on this moving target– and new platforms constantly crowd into the space.

Related Posts

Posted in Learn, LinkedIn, PHP, PLE, Twitter, Web, Web 2.0, conference, education, facebook, new media, photo, social networking, student, students | Comments Off

Jailbreaking WordPress with Web hooks

Posted by Joss Winn on 6th October 2009

As is often the case, I struggle at first glance to see the full implications of a new development in technology, which is why I so often rely on others to kick me up the arse before I get it.1

Where I ramble about WordPress as a learning tool for the web…

I first read about web hooks while looking at WordPress, XMPP and FriendFeed’s SUP and then again when writing about PubSubHubbub. Since then, Dave Winer’s RSSCloud has come along, too, so there’s now plenty of healthy competition in the world of real time web and WordPress is, predictably, a mainstream testing ground for all of it. Before I go on to clarify my understanding of the implications of web hooks+WordPress, I should note that my main interest here is not web hooks nor specifically the real time web, which is interesting but realistically, not something I’m going to pursue with fervour. My main interest is that WordPress is an interesting and opportunistic technology platform for users, administrators and developers, alike. Whoever you are, if you want to understand how the web works and how innovations become mainstream, WordPress provides a decent space for exercising that interest. I find it increasingly irritating to explain WordPress in terms of ‘blogging’. I’ve very little interest in WordPress as a blog. I tend to treat WordPress as I did Linux, ten years ago. Learning about GNU/Linux is a fascinating, addictive and engaging way to learn about Operating Systems and the role of server technology in the world we live in. Similarly, I have found that learning about WordPress and, perhaps more significantly, the ecosystem of plugins and themes2 is instructive in learning about the technologies of the web. I encourage anyone with an interest, to sign up to a cheap shared host such as Dreamhost, and use their one-click WordPress offering to set up your playground for learning about the web. The cost of a domain name and self-hosting WordPress need not exceed $9 or £7/month.3

… and back to web hooks

Within about 15 minutes of Tony tweeting about HookPress, I had watched the video, installed the plugin and sent a realtime tweet using web hooks from WordPress.

It’s pretty easy to get to grips with and if a repository of web hook scripts develops, even the non-programmers like me could make greater use of what web hooks offer.

Web hooks are user-defined callbacks over HTTP. They’re intended to, in a sense, “jailbreak” our web applications to become more extensible, customizable, and ultimately more useful. Conceptually, web applications only have a request-based “input” mechanism: web APIs. They lack an event-based output mechanism, and this is the role of web hooks. People talk about Unix pipes for the web, but they forget: pipes are based on standard input and standard output. Feeds are not a sufficient form of output for this, which is partly why Yahoo Pipes was not the game changer some people expected. Instead, we need adoption of a simple, real-time, event-driven mechanism, and web hooks seem to be the answer. Web hooks are bringing a new level of event-based programming to the web.

I think the use of the term ‘jailbreak’ is useful in understanding what HookPress brings to the WordPress ecosystem. WordPress is an application written in PHP and if you wish to develop a plugin or theme for WordPress you are required to use the PHP programming language. No bad thing but the HookPress plugin ‘jailbreaks’ the requirement to work with WordPress in PHP by turning WordPress’ hooks (‘actions’ and ‘filters’) into web hooks.

WordPress actions and filters, are basically inbuilt features that allow developers to ‘hook’ into WordPress with their plugins and themes. Here’s the official definition:

Hooks are provided by WordPress to allow your plugin to ‘hook into’ the rest of WordPress; that is, to call functions in your plugin at specific times, and thereby set your plugin in motion. There are two kinds of hooks:

  1. Actions: Actions are the hooks that the WordPress core launches at specific points during execution, or when specific events occur. Your plugin can specify that one or more of its PHP functions are executed at these points, using the Action API.
  2. Filters: Filters are the hooks that WordPress launches to modify text of various types before adding it to the database or sending it to the browser screen. Your plugin can specify that one or more of its PHP functions is executed to modify specific types of text at these times, using the Filter API.

So, if I understand all this correctly, what HookPress does is turn WordPress hooks into web hooks which post the output of the executed actions or filters to scripts written in other languages such as Python, Perl, Ruby and Javascript (they can be written in PHP, too) hosted elsewhere on the web.   In the example given in the HookPress video, the WordPress output of the action, ‘publish_post‘, along with two variables ‘post_title’ and ‘post_url’, was posted to a script hosted on scriptlets.org,  which performs the event of sending a tweet which includes the title and URL of the WordPress post that has just been published. All this happens as fast as the component parts of the web allows, i.e. in ‘real time’.

In other words, what is happening is that WordPress is posting data to a URL, where lies a script, which takes that data and creates an event which notifies another application. Because the scripts can be hosted elsewhere, on large cloud platforms such as Google’s AppEngine, the burden of processing events can be passed off to somewhere else. I see now, why web hooks are likened to Unix pipes, in that the “output of each process feeds directly as input to the next one” and so on. In the case of HookPress, the output of the ‘publish_post’ hook feeds directly as input to the scriptlet and the output of that feeds directly as input to the Twitter API which outputs to the twitter client.

Besides creating notifications from WordPress actions, the other thing that HookPress does (still with me on this ‘learning journey’ ??? I’ve been reading, writing and revising this blog post for hours now…), is extend the functionality of WordPress through the use of WordPress filters. Remember that filters in WordPress, modify text before sending it to the database and/or displaying it on your computer screen. The example in the video, shows the web hook simply reversing the text before it is rendered on the screen. ‘This is a test’ becomes ‘tset a si sihT’.

The output of the ‘the_content‘ filter has been posted to the web hook, which has reversed the order of the blog post content and returned it back to WordPress which renders the modified blog post.

Whereas the action web hooks are about providing event-driven notifications, the filter web hooks allow developers to extend the functionality of WordPress itself in PHP and other scripting languages.  In both cases, web hooks ‘jailbreak’ WordPress by turning it into a single process in a series of piped processes where web hooks create, modify and distribute data.

Finally, I’ll leave you with this presentation, which is all about web hooks.

In the presentation, there are two quotes which I found useful. One from Wikipedia which kind of summarises what HookPress is doing to WordPress:

“In computer programming, hooking is a technique used to alter or augment the behaviour of [a programme], often without having access to its source code.”

and another from Marc Prensky, which relates back to my point about using WordPress as a way to learn about web technologies in a broader sense. WordPress+HookPress is where programming for WordPress leaves the back room:

As programming becomes more important, it will leave the back room and become a key skill and attribute of our top intellectual and social classes, just as reading and writing did in the past.

  1. I am not ashamed to admit that I’m finding that my career is increasingly influenced by following the observations of Tony Hirst. Some people are so-called ‘thought-leaders’. I am not one of them and that is fine by me. I was talking to Richard Davis about this recently and, in mutual agreement, he quoted Mario Vargas Llosa, who wrote: “There are men whose only mission is to serve as intermediaries to others; one crosses them like bridges, and one goes further.” That’ll do me.
  2. Note that themes are not necessarily a superficial makeover of a WordPress site. Like plugins, they have access to a rich and extensible set of functions.
  3. I am thinking of taking the idea of WordPress as a window on web technology further and am tentatively planning on designing such a course with online journalism lecturer, Bernie Russell. It would be a boot camp for professional journalists wanting (needing…?) to understand the web as a public space and we would start with and keep returning to WordPress as a mainstream expression of various web technologies and standards.

Related posts

Posted in API, Akismet, AppEngine, Bernie Russell, Blog software, Dave Winer, Fun, GNU/Linux, HTTP, Jeff Lindsay, Marc Prensky, Mario Vargas Llosa, Open Source, PHP, Perl, Python, Richard Davis, Ruby, Software, Standards & Specs, Technology_Internet, Twitter, Unix, Web, Web Hooks View, Web hooks, Web technologies, WordPress, Yahoo!, content management systems, google, javascript, linux, operating systems, real time web, server technology, tony hirst, web applications, wpmudev | Comments Off

Put your web pages on a diet

Posted by Reverend on 16th September 2009

Do you still keep track of the how many kilobytes, or even megabytes, your web pages are delivering to the customer?  Back in the day of dial-up modems your minimized files sizes or perished.  But not that we all have speedy cable/dsl connections does it matter anymore?  I think so, and here’s why:

  • Server load — why make your server work harder than it needs to?
  • Multiple device support — not every device being used to view your pages is on a fast connection or has unlimited RAM, i.e.  mobile devices
  • Being Green — as more of our lives moves onto the internet network traffic rises — if sites stopped hogging bandwidth unnecessarily then everything works better — and in the future we may find ourselves with no choice.
  • Good design principles — design is not just visual — shouldn’t resource efficiency also be a consideration?

Adobe PDF files can be particular problems (especially when they come from print designers).  The Reduce File Size tools in Acrobat can help.  But I find that just taking the PDF and printing it to a PDF file can work wonders — and often reduces the file size way past what the Acrobat tools do.  For web page monitoring the Firefox extension FIREBUG is the tool for you.  Just because I believe in eating my own dog food, I ran a before and after on some download testing here on Rodeworks — I got myself down from 233 kilobytes and 2.5 seconds of download (lag from the external links to flickr/linkedIn/facebook and twitter) to 89 kilobytes and 1.1 seconds.  Just doing my part…

Firebug and Network Monitoring

Some of your web pages are taking a long time to load, but why? Did you go crazy and write too much JavaScript? Did you forget to compress your images? Are your advertising partner’s servers taking a little siesta? Firebug breaks it all down for you file-by-file.

Related Posts

Posted in Acrobat, Design, Firefox, LinkedIn, PLE, Twitter, Web, adobe, facebook, flickr, mobile | Comments Off

Scholarly publishing with WordPress

Posted by Joss Winn on 25th August 2009

Working on the JISCPress project, I’ve been thinking quite a lot about scholarly publishing on the web, and in particular with WordPress. This morning, I read a post over on the ArchivePress blog about some WordPress plugins which are useful additions for creating a scholarly blog and it got me thinking a bit more about what features WordPress would need to support scholarly publishing.

JISCPress does away with the idea that WordPress is a blogging tool, and instead uses WordPress Multi-User as a document publishing platform, where one site or ‘blog’ is a document. The way WPMU is structured means that despite serving multiple (potentially millions) of document sites, the platform remains relatively ‘lightweight’ as each document site generates just a handful of additional database tables, while sharing the same administrative core as a single WordPress install. So, 100 WordPress blogs on WPMU is nothing like the equivalent of running 100 separate WordPress blogs, both from the point of resource requirements and administration. In fact, quite soon, there will be no such thing as WPMU as the two products are going to be merged and because they share 90%+ of the same code already, it’s not too difficult to achieve.1

Anyway, my point here is to discuss whether WordPress can be extended to accommodate most conventions found in scholarly publishing and where it is lacking, to identify the development work required to meet the needs of most academic who wish to write on and publish to the web.2

Scholarly publishing extends to a wide variety of published outputs. As a Content Management System (CMS) and technology development platform, I believe that WordPress has the potential to support any type of scholarly publishing that the web supports. It is extremely extensible, as can be seen from the 6000+ plugins that are available. However, what I’m interested in is what can be done now, by an academic wishing to publish their work through the use of WordPress acting as a CMS. What can be achieved with a few quid3 to self-host WordPress so that a few plugins can be installed and a well structured, typical, scholarly paper can be published.

My Dissertation

For some time, I’ve been meaning to publish my MA dissertation. Back in 2002, I undertook some unique research which has not, to my knowledge, been repeated and I think there is some value in having it easily accessible on the web. I have an OpenOffice file and a PDF and, in the course of a morning, have published it under my own domain. The reason I did not publish it on the university WPMU platform is because I have been experimenting with different plugins and did not want to install plugins that were untested or we may not support long-term.  In this case, I’ve used a single WordPress installation, but ideally an individual researcher, group of researchers or research institution, would run a WPMU installation which allowed multiple documents to be authored individually or collaboratively4 and published directly to the web as XHTML.

BuddyPress, by the way, can make the experience even more natural, not only because it is based around a community of like-minded people writing together  on the same web publishing platform, but also because, with a few tweaks here and there, we can move away from the language of blogs and towards the language of documents.


BuddyPress admin bar

Profile menu

Enough of BuddyPress on WPMU for now and back to my dissertation. I set up the site in ten minutes, without using FTP or a command line because I use a host that provides a one-click install of WordPress and WordPress allows you to search for and install plugins from its Dashboard, rather than having to use FTP. Once the site was installed, I then  made some basic changes to the settings, turning on XML-RPC and AtomPub, so that, if I decided to, I could publish to the site using my Word Processor.5 I didn’t use this in the end, but trust me, it works very well using recent versions of MS Word, Open Office (free) and other blogging clients such as MS Live Writer (free).

So, what are the common characteristics of an academic paper? What does WordPress have to support to provide functionality that meets most scholars’ publishing requirements? I scratched my head (and asked on Twitter) and came up with the following:

  • footnotes/endnotes
  • citations
  • use of LaTeX (sciences)
  • tables
  • images
  • bibliography
  • sub-headings
  • annexes
  • appendices
  • dedication
  • abstract
  • table of contents
  • index to figures
  • introduction
  • exposition
  • conclusion

Many of these are supported in WordPress by default and don’t require any additional plugins (tables, images, sub-headings, annexes, appendices, dedication, abstract, introduction, exposition, conclusion, are all either basic literary conventions or just part of a simply structured document).

For additional support, I installed digress.it, which we have funded through the JISCPress project. This is a WordPress plugin which allows readers to comment on the paragraphs of a document, rather than at the document section level. We’re adding a lot more functionality to meet the objectives of the JISCPress project, but I chose digress.it, principally for the reason that it is designed to turn a WordPress blog into a document site. I could have used any other WordPress theme, but digress.it automatically creates a Table of Contents and allows you to re-order WordPress posts when they are read so that you don’t have to author your document in reverse or adjust the publication dates so the document sections appear in the correct order.

My dissertaion published using digress.it

My dissertation published using digress.it

I added the abstract for my dissertation to the ‘about’ page, so it shows up on the front of the site. I also uploaded a PDF version so that people can download it directly. You’ll see that I also added some links to a related book and DVD, which will certainly appeal to people who are interested in my dissertation. The links pull an image and some basic metadata from Amazon, using the Amazon Machine Tags plugin. This could be used to link to the book in which your article is published and earn you money in click referrals. An alternative, would be the Open Book Book Data plugin, which retrieves a book cover and metadata from Open Library, where your book may already be catalogued. If it’s not on Open Library, catalogue it!

After setting this up, I installed a few more plugins:

Dublin Core for WordPress: Automatically adds ten Dublin Core metadata elements to the document mark up.

wp-footnotes: This allows you to easily add footnotes to your document by enclosing your footnote in double parentheses.6

OAI-ORE Resource Map: Automatically marks up the document sections with a OAI-ORE 1.0 resource map.

Google Analyticator: Adds Google Analytics support so you can collect statistics on the readership of your document.

WP Calais Archive Tagger: Analyses your entire document and automatically keywords each section, using the Open Calais API.

Search API: WordPress comes with search built in, but there is a new search API which will eventually make its way into the WordPress core. I’ve installed the plugin to provide full-text search across the document. It can also add Google Search to your document site.

wp-super-cache: This is simple to install and will significantly speed up your document site, making it a pleasure to navigate through and read :-)

Plugins I didn’t use

wp-latex: Although I didn’t need it for my dissertation, it’s worth noting that WordPress supports the use of \LaTeX.

Academic Citation: You need to add a line of code to your theme for this to display. It supports the concept of an article being a single blog post, rather than a ‘document site’ and displays a variety of citation formats for readers to use.

Do you know of any other plugins for a scholarly blog?

The Beauty of Feeds

The other useful thing about managing a document using WordPress and in particular, using digress.it, is that you automatically get RSS/Atom feeds for the document. I’ve already discussed these in detail. It means that I was able to read my document in my feed reader, with footnotes and images displayed correctly.

Document in Google Reader

See how nicely the formatting is preserved. \LaTeX is also rendered correctly in feed readers.

Document formatted nicely in Google Reader

Reading my dissertation in Google Reader

You’ll see that the document sections are listed in order; that is, first section on top. As I noted above, blogs list posts in reverse (most recent first), so I sorted the feed items in Yahoo Pipes and sorted it in ascending order. Yahoo Pipes exports as RSS and it’s that feed that I subscribed to in Google Reader. Wouldn’t it be nice, if I could import my document feed into an Institutional Repository? Wait a minute, I can! :-)

Importing an RSS feed into EPrints

Click to see the item in the repository

Click to see the item in the repository

When importing the default feed, the HTML output is accurate but in reverse order, while the RSS output from Yahoo Pipes didn’t import into EPrints very cleanly at all. I’ll work on this. UPDATE: Forget Yahoo Pipes. WordPress feeds can be sorted with a switch added to the URL: http://example.com/feed/?orderby=post_date&order=ASC

So there it is. An academic paper, published to the web using a modern CMS which supports most authoring and publishing requirements. I would favour an institutional WPMU platform for academics to author directly to, publish their pre-print to the web for open access and detailed comment, and import their RSS feed into the repository. As a proof of concept, I’m quite pleased with this. We are currently developing a widget that can be embedded in a web page or WordPress sidebar and allow a member of staff to upload a document or zipped folder of documents to the Institutional Repository. I wonder if we can also support the import of a feed from the widget, too?

So, what would your requirements be? Tell me and I’ll do my best to test WordPress against them.

  1. Has anyone done a diff on the two code bases to measure exactly what percentage of the code is shared between WP and WPMU?
  2. Actually, I think I’ll save the discussion of its shortfalls for my next post. This one is already long enough.
  3. I pay $5/year for my domain name and as many sub-domains as I need. I pay $10/month for my hosting with unlimited storage and bandwidth.
  4. Like any decent CMS, WordPress supports role-based authoring and editing and maintains a revision history of edits, auto-saved once per minute. Revisions can be compared alongside of each other.
  5. On a scholarly WPMU installation, plugins could be pre-installed and activated, a default theme selected and settings tweaked so very little work is required by the academic author prior to writing her document.
  6. I am using the plugin on this blog!

Related posts

Posted in API, Amazon, Amazon.com, Blog software, Document, Google Inc., Google Reader, Inc., JISCPress, MS Live Writer, Open Library, Open Office, PHP programming language, Projects, Repositories, Software, TeX, Technology_Internet, Twitter, Twitter Inc, Web 2.0, WordPress, XML, Yahoo!, Yahoo! Inc., content management systems, document site, google, jiscpressblog, jiscri, wpmudev | Comments Off

Realtime WordPress updates to FriendFeed (and therefore to XMPP)

Posted by Joss Winn on 7th May 2009

Quickly following on from my previous post about realtime XMPP updates from wordpress.com:

For self-hosted WordPress blogs, there’s the Jabber Feed plugin, which promises something similar but is going to take me a while to set up. For something quick and simple, there’s the wp-sup plugin which “implements FriendFeed’s Simple Update Protocol. Your blog posts will appear on FriendFeed near-instantly after they are published.”

And indeed, they do. Even better, you can receive FriendFeed notifications via Google Talk/XMPP/Jabber, achieving pretty much what wordpress.com are offering via their IM bot.

FriendFeed is a decent social lifestreaming and messaging platform. There’s an iPhone interface, a FaceBook app; it allows for a little more engagement than Twitter with the ability to ‘like’ content and comment extensively (with no 140 character limit). I can see it being quite useful to aggregate and discuss course work. You can have private groups, too.

I’ve been trying to ‘hack’1 the plugin to also work for comments, but it’s beyond me. I’ve submitted an issue to the plugin’s Google Code site and, if it’s possible, maybe it will be possible in a future version.

Hoorah for the realtime web!

  1. I use the term ‘hack’ loosely. ‘Botch’ might be a better way of describing my approach to code.

Related posts

Posted in FriendFeed, SUP, Standards & Specs, Twitter, Web, WordPress, realtime, wpmudev, xmpp | Comments Off