Category Archives: Tek

Open Catalogue Protocol (OCP / OCF)

I Have recently been trying to find a way of standardising the on-line catalogue we use at work. Something to do with the same data being entered into multiple databases, lots of manual data entry you get the picture.

I have been a bit disappointed to discover that there is very little in the way of a standard format for exchanging catalogue information. I can understand why Online Shopping Cart projects have been slow to implement this “we don’t want them running away from our system” but i would have thought there might have least been a push from some of the more confident open source movements.
Please correct me if I’m wrong here i haven’t looked at them all

After digging around a bit i did find that someone has created a format called the Open Catalogue Protocol or Format but unfortunately whoever implemented doesn’t seem to be around any more. (

If anyone knows where i could find a DTD for this please let me know.

This is the only example i could find of its implementation:

Date:  1999-05-05

<?xml version="1.0" standalone="yes"?>

  Catalog hierarchy file:
    this file only contains a hierarchy of categories, no products;
    the catalog engine caches it in memory


  <category name="Computer Product">

    <param name="NumberOfProduct" value="23"/>

    <attr name="Part ID" value=""/>
    <attr name="Vendor" value=""/>
    <attr name="Description" value=""/>
    <attr name="Cost" valuetype="float" value="" unit="dollar"/>

    <category name="Computer Hardware">
      <link name="" valuetype="Alternative"
         value="OCP:// Related/Computer/HW/"/>

    <category name="Computer Software">
      <attr name="title" value="Software xxx"/>
      <attr name="Platform" value=""/>
      <attr name="Version" value=""/>

      <link name="" valuetype="CrossSell" value="OCP://"/>

      <product name="11000078">
        <link name="" valuetype="PartOf" value="Computer Product/Computer Software/11000079"> 
        <attr name="Part ID" value="33444IET">
        <attr name="Vendor" value="Microsoft">
        <attr name="title" value="Microsoft Word"/>
        <attr name="Cost" valuetype="float" value="29.99" unit="dollar"/>
        <attr name="Platform" value="Microsoft Windows 98"/>
        <attr name="Version" value="7.0"/>
        <attr name="Description" value="Word Editor"/>
            <val>Inline pictures</val>
            <val>HTML ready</val>

      <product name="11000079">
        <link name="" valuetype="HasPart" value="Computer Product/Computer Software/11000078">
        <attr name="Part ID" value="33444FFY">
        <attr name="Vendor" value="Microsoft">
        <attr name="title" value="Microsoft Office 98"/>
        <attr name="Cost" valuetype="float" value="399.99" unit="dollar"/>
        <attr name="Platform" value="Microsoft Windows 98"/>
        <attr name="Version" value="7.0"/>
        <attr name="Description" value="Office product suite"/>



  <category name="Real Estate">