Content¶
- album_buy_urls: a list of dictionaries, each with url and link text
- book_buy_urls: a list of dictionaries, each with url and link text
- product_buy_urls: a list of dictionaries, each with url and link text
Metro Publisher Versions:
Path History resources are now also available for
Metro Publisher 3 continues what was started in 2.14, now with regards to location types. Location types have been deprecated and converted to tags. Locations can now be tagged with any tag.
Also, object reviews (album, book, product) can now have more than one non-provider buy URL / link text attached to them.
Metro Publisher formerly supported a fixed list of location types, such as "Restaurant" ("food_drink::restaurant:"). Those location types have been converted to tags , and locations can be tagged with any tag now. This means that users of Metro Publisher can decide for themselves which types of locations they wish to add as tags and attach to their locations.
Object reviews (album, book, product) used to have one non-provider buy url and link text. Now they can have a list. The fields *_buy_url and *_buy_link_text are deprecated. Please use the fields *_buy_urls now to get a list of dictionaries with the urls and link texts:
[{'link_text': 'Buy at SomePlace',
'url': 'http://www.someplace.com/product/12345.html'},
{'link_text': 'Buy at AnotherShop',
'url': 'http://www.anothershop.com/p/12345.html'}]
You can now attach multiple buy urls to album, book and product reviews using the new attributes album_buy_urls, book_buy_urls and product_buy_urls.
Metro Publisher 2.14 contains various changes regarding tags. The old tag categories (i.e. 'Subject', 'Geography', etc.) have been deprecated to allow the creation of custom tag categories. The old event categories have been migrated into tags to allow the freedom of chosing any tag to describe the event instead of having a fixed list of available event categories.
Tags now have the following attributes:
The attribute type defines whether a tag is a person (type=='person') or not (type=='default'). Person tags have a first_name (which may be empty) as well as a last_name_or_title, default tags only have a last_name_or_title.
Tags can be grouped into custom categories. The resources to manage the custom categories are:
(see Tag Categories)
A print_description for content (incl. events) as well as locations can be set and retrieved now.
Events and locations now have a sort_title.
Metro Publisher 2.9 introduced Media Slots. Version 2.12 extends their availability by allowing multiple slots within the content, each containing a list of media.
Events now have the attribute email to specify an email address for contacting the event organizer.
Media of the type file can now be linked to an audio file from the Metro Publisher instance's file library.
Since every content object may now have more than one media slot, the following new resources allow retrieving information about all content slots as well as managing specific slots:
The following resources are replaced by slot-specific resources. Please use the new resources (see above) to manage slots and their media.
Metro Publisher 2.11 introduces new types of content:
The different types of review as well as the location roundup have different additional parameters (see Content).
Loations now have the attribute closed to specify whether the location is open for business or not.
Tags can now have the state internal. Internal tags are not visible on the public website and are only intended for internal use within the organization running the Metro Publisher instance.
There are several new tag predicates available now besides 'authored' and 'describes'. Which predicates are available depends on what object is to be tagged.
In this release of Metro Publisher sections are enhanced to allow them to work similar to blogs. That means that blogs become deprecated though existing blogs in a Metro Publisher instance will remain available until they are merged manually (in the Metro Publisher Administration Interface) to sections.
Sections have a new attribute to define whether content within the section should show links to previous/next content within that section:
Metro Publisher version 2.9 consists of the second milestone in an extensive overhaul of the content types. With this release, the remaining content types (articles, reviews, events) have Media Slots.
The content type video has been removed. The video content objects have been converted to the content type article.
Slideshows have been removed. Their slides have been merged into Media Slots (see also Slideshows).
Media Slots allow the Metro Publisher user to attach a variety of media to any content object. Media can be:
Each media slot has the following properties:
The different media slot types have additional properties.
Formerly attached videos or slideshows have been moved into a content object's media slots.
The former feature_image of a content object has been moved into the first media slot of that content object.
The former feature_thumb of a content object has been renamed to 'teaser_image'.
The slides of a slideshow attached to a content object have been moved into the media slots.
The video attached to a content object has been moved into the media slots.
The former 'feature_thumb' of a content object has been renamed to teaser_image.
The following API resource retrieves additional information about a content object:
In this release, the additional information contains just the public url for the object. Other information may follow in later releases.
Slideshows have been integrated into content objects. A slideshow's slides have been merged into the media slots of the content object the slideshow was connected to. Formerly unconnected slideshows have been converted to articles.
With MP 2.9, homepage headline and feature stories can be configured to be automatic using the following parameters:
The following resources have been adjusted: