« November 2004 | Main | January 2005 »
December 22, 2004
A little experiment
Title: Cyberpatient simulator
General description:
A series of interactive patient case simulations.
Education description:
Includes cases based on acute coronary syndrome, acute leg swelling, cardiac life support (including paediatric life support).
Coverage:
- UK
- Europe
- US
Publisher: MDChoice
Keywords:
- Teaching Materials
- Computer Simulations
- Acute Coronary Syndrome
- Acute Leg Swelling
- Cardiac Life Support
Technical format: text/html
Technical location: http://www.mdchoice.com/cyberpt/cyber.asp
Learning resource types:
- Simulation model
- Case study
- Collection
Copyright and other restrictions: No
Classification:
- Pre-clinical medicine
Posted by pj at 02:16 PM
RDF from my little experiment
http://minnesota.ncl.ac.uk/fuzzybuckets/archives/2004/12/a_little_experi.html
Posted by pj at 02:16 PM
December 21, 2004
Aah! Character encoding :)
A tutorial on character code issues
Posted by pj at 02:19 PM
The Atom fun just never stops!
Posted by pj at 02:12 PM
Articles about Atom athentication, RDF and Identification
http://www.xml.com/pub/a/2003/08/20/dive.html
Posted by pj at 11:29 AM
December 20, 2004
Article about ePortfolios
Posted by pj at 04:19 PM
Latest draft of the Atom API
Been reading through the following article describing the history of the Atom API and then describing it in full:
http://www.xml.com/lpt/a/2003/10/15/dive.html
The following is related reading:
http://bitworking.org/news/AtomAPI_Quick_Reference
http://www.isolani.co.uk/blog/atom/PhpAtomApiImplementation
Posted by pj at 01:20 PM
December 18, 2004
Apache module available for OAI-PMH
Posted by pj at 08:13 PM
PubMed records available over OAI-PMH
PMC Open Archives (OAI) Service
Posted by pj at 08:10 PM
December 15, 2004
Doozers in ZPT
I've been working on converting my DTML generic form builder into ZPT.
It has taken me a couple of days to move the concept of a doozer over. A doozer is a script which performs some business logic functions, such as inserting data into a table but instead of returning any resulting HTML, hands off to another URI using a redirect.
The main trick I was missing was the use of either tal:block
or the tal:omit-tag=""
attribute to ensure nothing is written to the browser before the redirect. I then discovered that this is actually unecessary as unlike PHP if you call a redirect it seems to send a new header to the browser anyway.
<div tal:define=" debug python:0; table_name request/table_name; pk_recs python:here.get_pk_column(table_name=table_name); title_column python:str(pk_recs[0]['title_column']); pk_column python:str(pk_recs[0]['pk_column']); these_items python:request.form; title_column_value python:these_items[title_column]; result python:here.insert_entry_id(table_name=table_name, title_column=title_column, this_value=title_column_value); max_id_recs python:here.get_table_max_id(table_name=table_name,pk_column=pk_column); entry_id python:max_id_recs[0]['entry_id'];" tal:omit-tag=""> <p tal:condition="python:debug == 1" tal:content="title_column" tal:omit-tag=""></p> <p tal:condition="python:debug == 1" tal:content="title_column_value" tal:omit-tag=""></p> <p tal:condition="python:debug == 1" tal:content="entry_id" tal:omit-tag=""></p> <div tal:repeat="item_key python:these_items.keys()" tal:omit-tag=""> <p tal:define="item_value python:these_items[item_key];" tal:omit-tag=""> <span tal:condition="python:debug == 1" tal:omit-tag=""> <span tal:condition="python:debug == 1" tal:content="item_key" tal:omit-tag=""></span> <span tal:condition="python:debug == 1" tal:content="item_value | nothing" tal:omit-tag="">Item here< /span> </span> <span tal:condition="python:item_key != 'table_name' and item_key != 'redirect_url'" tal:omit-tag=""> <br tal:define="result python:here.update_entry(table_name=table_name,pk_column=pk_column, this_key=item_key,this_value=item_value,entry_id=entry_id)" tal:omit-tag=""/> </span> </p> </div> <p tal:condition="python:debug == 1" tal:content="these_items" tal:omit-tag=""></p> <div tal:condition="python:not request.has_key('redirect_url')" tal:omit-tag=""> <br tal:omit-tag="" tal:define=" redirect_url python:'/generic_form_zpt/show_entry?entry_id=' + str(entry_id) + '&table_name=' + table_name + '&pk_column=' + pk_column + '&title_column=' + title_column; redirect python:request.RESPONSE.redirect(redirect_url); "/> </div> <div tal:condition="python:request.has_key('redirect_url')" tal:omit-tag=""> <br tal:omit-tag="" tal:define=" final_url python:request['redirect_url'] + '?entry_id=' + str(entry_id) + '&table_name=' + table_name + '&pk_column=' + pk_column + '&title_column=' + title_column; redirect python:request.RESPONSE.redirect(final_url); "/> </div> </div>
Posted by pj at 04:01 PM
December 13, 2004
Overriding angle bracket escaping in ZPT
To avoid ZPT turning your HTML angle brackets into entity codes prefix your tal:replace statement with the structure
keyword.
<span tal:replace="structure my_value"/>
Posted by pj at 05:56 PM
December 10, 2004
Article about PEAR, Smarty and MySQL
ONLamp.com: Three-Tier Development with PHP 5
Posted by pj at 01:31 PM
December 08, 2004
More about METS
Metadata Encoding and Transmission Standard
http://www.loc.gov/standards/mets/
Different sections for different types of metadata:
- fileSec
All the files associated with the digital object
- dmdSec
-- Descriptive metadata goes here (can embed DC, MARCXML etc.)
- admSec
-- Administrative metadata
- behaviorSec
- structMap
-- Equivalent of IEEE CP manifest? Lists associated files
Oxford are using MODS (Metadata Object Description Schema)
Posted by pj at 02:39 PM
Wilbert Kraan: LTSC content aggregation
Notes from today's Joint CETIS Metadata and EC SIG meeting in Manchester:
Content Aggregation for Managed Learning, Education and Teaching (CAMLET)
METS version 1.1 released June 2002
"Descriptive, administrative and structural Metadata for objects in a digital library."
Tries to merge METS, Content Packaging and MPEG-21 specifications.
Posted by pj at 02:06 PM
Derek Hoy presentation: Topic Maps - d.hoy@gcal.ac.uk
Notes from today's Joint CETIS Metadata and EC SIG meeting in Manchester:
Use a combination of Protege (ontology editor) plus TMTab from the TM4J people.
Protege does not produce XTM from the outset.
Producing a Knowledge Base of Healthcare Associated Infection.
Posted by pj at 12:10 PM
Gnowsys: A topic map tool in Python
Topic Map tool in Python written as as Zope product
Posted by pj at 12:03 PM
Topic Map Tools
Posted by pj at 12:00 PM
December 03, 2004
MT and del.icio.us
MovableBlog: Archives: Integrating del.icio.us with PHP and Magpie
See also:
Posted by pj at 09:52 AM
Wish I'd found this a few days ago
Zope.org - DTML2ZPT Conversion examples
Posted by pj at 08:55 AM
Ooh.. This looks cool.. PurpleWiki
Blue Oxen Associates: PurpleWiki
Posted by pj at 08:38 AM
New XML.com column about things RESTful
XML.com: How to Create a REST Protocol
See also:
http://udell.roninhouse.com/bytecols/2001-08-15.html
http://rest.blueoxen.net/cgi-bin/wiki.pl?FrontPage
Posted by pj at 08:34 AM
December 02, 2004
This is quite sick - ZPT in PHP
circle.ch :: PHPTAL - PHP Template Attribute Language
http://phptal.sourceforge.net/
Posted by pj at 09:36 PM