Follow

How to use the Section Category

 

Using the section category

The Drupal connector includes the section category, but will also include categories for the page type and more. The Pugpig clients will use the first category they see in the ATOM feed.

The Pugpig clients will use the first category they find in the Atom feed by default. If you want to force the client to only use the section category you will need to insert the following line of code in to the DocumentViewController.m

In order to access to this data source you may need to cast this method to one of the supported data sources - 

There are currently 5 different supported formats for links to editions (see below for details):

 [dataSource setSectionScheme:@"http://schema.pugpig.com/section"];

Before this line:

 [tableOfContents setDataSource:(id<KGDocumentExtendedDataSource>)dataSource];
Was this article helpful?
0 out of 0 found this helpful
Have more questions? Submit a request

Comments

Powered by Zendesk