User login

Benjamin Melançon

Pulling structured data from some web sites to another with RDFa

getting data from one site to another understanding fields and all (sounds like Deployment is what they want... but they want 'standards')

RDFa Monkey appears dead, or at least its link (from various sites) goes to a Microsoft IIS server's file not found page: http://www.avthasselt.sohosted.com/rdfamonkey/

http://rdfa.info/rdfa-implementations/

Drupal wish: Configuration setting to make all content types default to create new revision

Update: All this is superseded by an existing module, http://drupal.org/project/content_type_overview

Requests for this feature go all the way back to the days of Drupal 4.6, at the least:

create new revision by default
http://drupal.org/node/53149
(4.6 era post!)

This feature remains wanted-- here is the manual instructions, for Stanford.edu!

Creating a Subtheme in Drupal 7

Bear with us, and Drupal 7. There are some non-intuitive steps in the subtheming, but the power, simplicity of modifying, and relative ease of upgrading is worth it.

Agaric wants an emacs orgmode-style input format for Drupal

There is apparently no such thing yet and this may be silly, but the idea is to have an input filter that would make a copy-paste of an emacs org-mode document look good-- perhaps even with collapsible sub-sections using JQuery.

Or, there's the obvious approach: let emacs export to HTML. http://www.randomsample.de/dru5/node/76

Overview of Development to Live Deployment Strategies

General

Plain Everything-in-code

There's more than one way to span a date...

In theory you can put HTML code right into a custom date format declaration. Actually, this did not quite work for some reason... somewhere in class year the code just gave up and pled for mercy.

\<\d\i\v \c\l\a\s\s\="\m"\>M\<\/\d\i\v\>\<\d\i\v \c\l\a\s\s\="\d\y"\>d\<\/\d\i\v\>\<\d\i\v \c\l\a\s\s\="\y\r"\>Y\<\/\d\i\v\>

Slick top-level-domain style URLs for your local development sites on Ubuntu (and Mac OS X running Ubuntu in a VM)

In order for the cool myprojectname.dev style addresses for sites you are developing locally (rather than 127.0.0.1/myprojectname) from my Mac OS X environment as well as Ubuntu running in a virtual machine, this method uses the IP address available locally that you can find out by typing ifconfig in a shell terminal. It's what follows the text "inet". With luck that is a stable IP address, running in bridged mode (i think) with VMWare Fusion this seems to be working so far. The problem with bridged mode is that it only works with your own internet connection.

Add a subsection class to Drupal page body for theming Views and other parts of a site that can be defined by parts of the path

I had wanted to add the name of the view with its display to the body classes (Views apparently provides everything but that combination, and not all browsers we need to support deal with matching on two sibling classes). Looked in Zen for how to do it first though and as a consequence saw a way to add new sub-section body class with the first two parts of each URL.

This goes in your zen subtheme's implementation of preprocess page:

Syndicate content