TuftsDaily / daily-xml-plugin

The plugin we created to export WordPress articles to XML in a format that imports into InDesign with all the correct Tufts Daily styles.
1 stars 0 forks source link

Generate thumb boxes for Arts (only applies to review box posts) #6

Open Niteshvgupta opened 10 years ago

Niteshvgupta commented 10 years ago

We need to figure out if InDesign even has an option to generate a box based on a style dictated by an XML import. I'm not sure it does.

StephensAndrewM commented 10 years ago

Proposed structure:

<review>
<reviewhead>Review Heading</reviewhead>
<rating>
<star href="file://Z:/Production%20Shiyat/Ratings/star-full.png" />
<star href="file://Z:/Production%20Shiyat/Ratings/star-full.png" />
<star href="file://Z:/Production%20Shiyat/Ratings/star-full.png" />
<star href="file://Z:/Production%20Shiyat/Ratings/star-half.png" />
<star href="file://Z:/Production%20Shiyat/Ratings/star-empty.png" />
</rating>
<reviewdetail>Details go here. These are generally two lines long.</reviewdetail>
</review>

and just have that embedded in the regular article XML.

StephensAndrewM commented 10 years ago

This is actually a bit more complicated as restaurant reviews have a slightly different appearance than movie/album reviews. I'll find out what all the possible types are and finalize the format tonight