srnsw / State-Records-Search

Java version of api.records.nsw.gov.au
3 stars 1 forks source link

Add schema.org Markup to Agency HTML pages #21

Open richardlehane opened 11 years ago

richardlehane commented 11 years ago

Could you please add the following attributes to tags in the Agency HTML view. This will allow Google to better index our agency entities & maybe put our agency descriptions in as rich snippets. If you get confused read:http://schema.org/docs/gs.html#microdata_how

To the DIV tag that has the class "entity_data" add the following two attributes (the itemscope attribute has no value): itemscope itemtype="http://schema.org/Organization"

To the H3 tag that contains the agency title add: itemprop="name"

To the DD tag that contains the data range add: itemprop="foundingDate" datetime="YYYY-MM-DD" [insert the start date as the value]

To the DD tag that contains the descrption add: itemprop="description"