Follow

May we generate a feed from DrFront for use on e.g our mobile front?

When you burn a front in DrFront a XML-file is created and sent using rsync. (front-[front id].xml).

The XML-feed contains several attributes:

ElementAttributeTypeDescription
drfront id Integer The front ID.
drfront revision Integer The front revision ID.
drfront created Date Date when the front was burned.
drfront previous_created Date The previous date when the front was burned.
article id String The ID of the article.
article orig_id String The ID of the article when it was imported.
article orig_image_id String The ID of the image when it was imported.
article created Date The date and time the article was created.
article modified Date The date and time the article was modified.
article row Integer The row where the article is located.
article previous_row Integer The row where the article was located last time. Can be used to determine if the article has moved.
article link String URL to the full article story.
article size String The size if the article (like "full", "half", or "one-third").
article skin String The article skin (like "white" or "blue").
article image_border String If the image uses image border (like "0", "1", or "2").
article position String If the article is floated to the left or right ("left" or "right").
article header_title String The content of the article header (if used).
article header_link String The URL used in article header (if used).
article top_in_row Integer Indicates if the article was on the top in the row ("0" or "1").
article right_in_row Integer Indicates if the article was to the right in the row ("0" or "1").
article bottom_in_row Integer Indicates if the article was on the bottom in the row ("0" or "1").
article left_in_row Integer Indicates if the article was on to the left in the row ("0" or "1").
article width Integer The outer width of the article (pixels).
article height Integer The outer height of the article (pixels).
article image_width Integer The width of the article image (pixels).
article image_height Integer The height of the article image (pixels).
article min_font_size Integer The smallest font-size detected in the article content (pixels).
article max_font_size Integer The biggest font-size detected in the article content (pixels).
article image_position String If the article image is floated (can be "normal", "left" or "right").

 

0 Comments

Please sign in to leave a comment.