Frank-Peter Reich > XML-BMEcat > XML::BMEcat

Download:
XML-BMEcat-0.55.tar.gz

Dependencies

Annotate this POD

CPAN RT

New  1
Open  0
View Bugs
Report a bug
Module Version: 0.55   Source  

NAME ^

XML::BMEcat - Perl extension for generating BMEcat-XML

SYNOPSIS ^

  use XML::BMEcat;

  my $BMEcat = XML::BMEcat->new();

  $BMEcat->setOutfile("catalog.xml");

DESCRIPTION ^

  XML::BMEcat is a simple module to help in the generation of BMEcat-XML.
  Basically, you create an XML::BMEcat object and then call the related
  methods with the necessary parameters.

METHODS ^

  The following methods are provided: 

HEADER

  Writes the BMEcat-Header:

FEATURE_SYSTEM

  Writes the BMEcat - Feature-System:

GROUP_SYSTEM

  Writes the BMEcat - Catalog-Structure:

ARTICLES

  Writes the BMEcat - Article-Entrys:

General

Features

Details

Orderdetails

  All in the BMEcat-spezification described elements are allowed to set in free order
  and at several times.

  $Article->setOrderDetails(
                'ORDER_UNIT'            => $ORDER_UNIT,
                'CONTENT_UNIT'          => $CONTENT_UNIT,
                'NO_CU_PER_OU'          => $NO_CU_PER_OU
                . . .
           );

Pricedetails

  Several prices and types are possible. See the BMEcat-Spezification for more details.

* setPriceDetails

  $Article->setPriceDetails(
                'valid_start_date'      => $start_date,
                'valid_end_date'        => $end_date
           );

* addPrice

  $Article->addPrice(
                'price_type'            => $price_type,
                'PRICE_AMOUNT'          => $price_amount,
                'PRICE_CURRENCY'        => $currency,
                'TAX'                   => $tax
           );

ART_GROUP_MAP

  Maps Articles to the BMEcat - Catalog-Structure:

* map2Group

  $Article->map2Group($group_id);

* writeArticleGroupMap

  $BMEcat->writeArticleGroupMap();

TAIL

BUGS ^

  At this time not usable:
  - FEATURE_GROUP_NAME
  - DAILY_PRICE

LIMITATIONS ^

  Not all BMEcat-features (eg. CLASSIFICATION_SYSTEM) have been implemented yet.
  See method-descriptions for detailed informations.

SEE ALSO ^

The BMEcat-Authors
  http://www.BMEcat.org
Perl-XML FAQ
  http://www.perlxml.com/faq/perl-xml-faq.html

ACKNOWLEDGMENTS ^

  I'd like to thank Larry Wall, Randolph Schwarz, Tom Christiansen,
  Gurusamy Sarathy and many others for making Perl what it is today.
  I had the privilege of working with a really excellent teacher,
  Robert Krüger. He have guided me through the entire process and his
  criticisms where always right on.

COPYRIGHT ^

  Copyright 2000-2003  by Frank-Peter Reich (fp$), fpreich@cpan.org
 
  This library is free software; you can redistribute it and/or modify it under
  the same terms as Perl itself.
 
  BMEcat is a trademark of BME - Bundesverband Materialwirtschaft, Einkauf und Logistik e.V.