[TriLUG] Dictionary Extension How-To Question

Adam Azman chemdictionary at gmail.com
Wed Jan 14 10:21:20 EST 2009


(crossposted from Ontopic by suggestion)

Hello, all,

I'm a 4th year grad student in Chemistry at UNC. Several months ago, I 
created an "open source" chemistry dictionary for word processors. I 
just finished a major upgrade to the dictionary and hosted it at 
chemistry-blog.com.

http://www.chemistry-blog.com/dictionary

The dictionary is compatible with OOo, but one of the commenters noted 
that my installation instructions are outdated. When I went live with 
the first version of the dictionary, dictionaries were not extensions 
for OpenOffice. The commenter indicated I should package an extension 
and publish it in the repository.

I have no idea how to do that. I downloaded the sample description.xml 
file and modified it. I think I did that right, but since I'm not fluent 
in OOo, I wasn't sure exactly what went where. I also made text files 
for the license text, release notes, and description.

I'd like to get the dictionary packaged and in the repository sometime 
soon... but I'm at the end of my ability. My first thought was to ask 
the Carolina Open Source Initiative.  They suggested I post my question 
here.

Anyway, would anyone mind taking a look at my description.xml file 
(below) to see if I've done everything correctly there? Also, I don't 
know what to do from here. How do I package it as an *.oxt file? And how 
do I upload it to the repository? Any help from anyone would be much 
appreciated.

Thanks in advance for your help.

-Adam






***description.xml file

<?xml version="2.0" encoding="UTF-8"?>
<description xmlns="http://openoffice.org/extensions/description/2006" <http://openoffice.org/extensions/description/2006%22>
xmlns:d="http://openoffice.org/extensions/description/2006" <http://openoffice.org/extensions/description/2006%22>
xmlns:xlink="http://www.w3.org/1999/xlink" <http://www.w3.org/1999/xlink%22>>
 
  <version value="2.0" />  
 
  <identifier value="com.chemistry-blog.www.azmanamchemistrydictionary" />
 
  <platform value="all" />
 
  <dependencies>
    <OpenOffice.org-minimal-version value="3.0" d:name="OpenOffice.org 
3.0"/>
  </dependencies>
 
  <update-information>
    <src 
xlink:href="http://extensions.openoffice.org/testarea/desktop/license/update/lic3.update.xml" <http://extensions.openoffice.org/testarea/desktop/license/update/lic3.update.xml%22> 
/>
  </update-information>
 
  <registration>
    <simple-license accept-by="user" suppress-on-update="true" >
      <license-text xlink:href="registration/license_en-US.txt" 
lang="en-US" />
    </simple-license>
  </registration>
 
  <publisher>
    <name xlink:href="http://www.chemistry-blog.com" <http://www.chemistry-blog.com%22>
    lang="en">Chemistry Blog</name>
  </publisher>
 
  <release-notes>
    <src 
xlink:href="http://extensions.openoffice.org/testarea/desktop/publisher/release-notes_en.txt" <http://extensions.openoffice.org/testarea/desktop/publisher/release-notes_en.txt%22> 
lang="en" />
  </release-notes>
 
  <display-name>
    <name lang="en">Chemistry Dictionary</name>
  </display-name>
 
  <extension-description>
    <src xlink:href="description/desc_en.txt" lang="en" />
  </extension-description>
 
</description>




More information about the TriLUG mailing list