[LON-CAPA-users] Meta data in the source code?

Gerd Kortemeyer lon-capa-users@mail.lon-capa.org
Fri, 10 Nov 2006 08:17:39 -0500


Hi,

On Nov 9, 2006, at 5:17 PM, James Sullivan wrote:

>
> Is there some way to build meta data into the source file for  
> problems?
>
> I have 700+ problems I would like to upload and if I could build the
> metadata into the file that would make the repository more easily
> searchable.

Yep, you can use the <meta>-tag inside the source code:

<problem>
<meta name="subject" content="Capacitance" />
<meta name="keywords" content="capacitance,capacitor,charge,current" />
<meta name="title" content="Discharging a Capacitor" />
<meta name="abstract" content="Time it takes to discharge a capacitor  
to a certain percentage of its initial charge" />
<startouttext />A capacitor of ...

On publication, the information is transfered to the meta-file.

- Gerd.