Skip to Content

wordpress

My 1st WordPress Plugin: ZoteroFeedWidget

0Coming up on September 11, UMW will be very fortunate to have a visit from Trevor Owens and Dan Cohen for a Zotero-fest, with Trevor talking about Zotero and Dan talking about the future of the digital university.

Importing mediawiki pages into a WordPress blog

0Jim Groom and others have been getting excited lately tools and techniques for integrating blogs and wikis. A while ago we had worked on a one-off script to bring the content of a wiki directly into WordPress blog. The idea is similar to XML separation of content and display--wikis are fantastic as a collaborative writing space, but don't have the robustness for presentation that WordPress has. So, we worked on a quick-and-dirty, one-off way to bring content from the writing space of one wiki page and stuff it into WordPress, treating WordPress as the presentation space.

TinyMCE hack to include Ancient Greek

0My wonderful wife Angela and her students have been blogging up a storm in two--count 'em TWO-- of her courses,"The Afterlife in Classical and Italian Traditions" and "Homer". T.S. Eliot might have called this "the superfetation of τὸ ἔν." We've talked off and on about finding ways to work with the Ancient Greek characters--here's a way to add them in to the TinyMCE WYSIWYG editor used by WordPress, available for Drupal, and used in plenty of other apps. This will add the unicode Greek Extended block to tinyMCE's character map, which still means hunt-and-pecking your way through the Greek. That's clearly not so happy for a long passage, but it'll do the trick for shortish phrases.

0 N.B. Internet Explorer users seem to be out of luck on the unicode support. In using this, you might want to add a note that it looks better in Mozilla Firefox, and suggest that they get it here.

0 There are two parts--modifying the tinyMCE javascripts, then making sure that the character map is turned on in whatever application you are working with.

Step 1: Hack tinyMCE

0The tinyMCE file you'll need to work with is charmap.js, located in your tinymce directory under themes/advanced/jscripts. The biggest section of it is a long array for all the special characters to include in the character map. Each entry in the array is another array with four elements:

Syndicate content