print on demand

print on demand

Description

The print on demand handler (FoP) can convert any xml into pdf based on a xslt-fo-template.

Our XSLT-FO to PDF renderer is Apache FoP.

Functions

FoPMeta

this handler uses FoP.ashx too, but wraps its features into a simpler api. Source is eT4 META.

Entry Point

http://static.et4.de/FoP/FoPMeta.aspx (With  Page/Selectors/and more)

Responsetype

PDF

Description

The print on demand handler can convert any object from eT4 META into pdf based on a template.

Parameters

Parameter
Type
Description
t
String
The template determines the output format of the data and the desired version of the meta schemas
e
String
The experience specifies the name of the project data pool to be used.  (obligatory)
type
String
Used to specify the main content type/topic to search. Hotel, Event, Gastro, Tour, POI, City, Area, Package, Article or Web.
h
String
Hashlink. (can be ","-seperated list to print more than one object)
q
String
Search queries can be defined with the parameter Q, so that the amount of data returned is constrained. For more details see chapter Query Language - Introduction and Query Language - Prefixes.
request
String
Multirequest. Instead of post x search request, you can put all into one call.
limit
Integer
The number of returned records is limited to the specified value.
offset
Integer
The result list starts from the defined offset value.
fn
String
Filename (only used if rcd=true)
mbu
String
MapsBaseUrl
cookie
String
Cookiename (used in aspx file to get to know when file is ready to be downloaded)
ortn
String
OverrideTemplateName. Possible values: Default, DefaultCompact, DefaultBookletA7 (Default: Default)
rcd 
Boolean
RenderContentDistributation. If true, PDF will be downloaded, if false, it will be displayed winthin browser.
a
String
Action (Default: Fo2Pdf)
b
String
Branding (Default: eT4)
mkt
String
This parameter determines the language in which the content is to be returned.
title
String
Title of document

Samples

Sample 1: Simple Print of one object


Sample 2: Print one object with more parameters


Sample 3: Print 10 hotels with compact-template


Sample 4: Travellingplan, 2 objects per module via aspx handler

FoP

Base FoP Handler.

Entry Point


Responsetype

PDF

Description

The print on demand handler (FoP) can convert any xml into pdf based on a xslt-fo-template.

Parameters

Parameter
Type
Description
rcd
Boolean
RenderContentDistributation. If true, PDF will be downloaded, if false, it will be displayed winthin browser.
a
String
Action (Default: Fo2Pdf)
b
String
Branding (Default: eT4)
mkt
String
This parameter determines the language in which the content is to be returned.
e
String
The experience specifies the name of the project data pool to be used.  (obligatory)
xml
String
Url to XML-File
xslt
String
Url to XSLT-FO-File
t
String
Used to specify the main content type/topic to search. Hotel, Event, Gastro, Tour, POI, City, Area, Package, Article or Web.
title
String
Title of document
fn
String
Title of document
mbu
String
MapsBaseUrl

Customization

Every meta experience can have its own header/footer and colors. Customizable are:

  1. Complete header (incl. images)
  2. Complete footer (incl. images)
  3. WelcomeHeaderText
  4. WelcomeText
  5. ColorBase
  6. ColorTitle
  7. ColorCategory
  8. ColorParagraphHeader
  9. SeasonQualifiedColor
  10. SeasonDependentColor
  11. SeasonUnqualifiedColor
  12. SeasonQualifiedBackgroundColor
  13. SeasonDependentBackgroundColor
  14. SeasonUnqualifiedBackgroundColor
  15. TourDifficultyVeryEasy
  16. TourDifficultyEasy
  17. TourDifficultyMedium
  18. TourDifficultyHard
  19. TourDifficultyVeryHard
  20. SizeImageText
  21. SizeSmall
  22. SizeNormal
  23. SizeBig
  24. TypeIconFontSize
  25. DefaultLineHeight
  26. SizeDehoga
  27. ColorDehoga
  28. SizeDtv
  29. ColorDtv
  30. FeatureSize
  31. FeatureLineHeight
It is possible to get your very own template. Please contact us to get a offer: support@hubermedia.de
    • Related Articles

    • print maps

      Description Print high quality maps with this service. Entrypoints: destination.one or destination.one standalone module, http://kartenserver.mairdumont.com/, http://www.green-solutions.info/kartographie/kartenshop/ Parameters Parameter Type ...
    • meta-Service: staticmaps

      Entry Point http://static.ecmaps.de/staticmap.jpg  Responsetype PNG-Image JPG-Image Description Creates a static map image based on latlong or hashlink. Parameters Parameter Type Description bbox String bbox=w,s,e,n (in wgs84): experience String The ...
    • meta-Service: staticmaps: scaled tour

      Entry Point http://static.ecmaps.de/StaticMapsSplitTour.ashx  Responsetype XML Description This handler creates scaled maps urls for tour. Parameters Parameter Type Description scale Integer Defines the mapscale 1:value experience String The ...
    • meta-Service: types

      Entry Point http://meta.et4.de/rest.ashx/types/ Responsetype JSON-Response Description The types service returns a list of available topics. Parameters none Samples Sample 1: http://meta.et4.de/rest.ashx/types/
    • meta-Service: shortenurl

      Entry Point http://meta.et4.de/rest.ashx/shorten-url Responsetype JSON-Response Description destination.one Url-Shortener. Parameters Parameter Type Description url String Url that shall be shortenend Samples Sample 1: www.hubermedia.de ...