I'm currently extending the features of a Google Site Search/Custom search setup on a website. Im not very big on this subject, but ive setup the sitemap with "Pagedata" element that contains some extra data, like Date and Category.
<url>
<loc>
http://www.videnscenterfordemens.dk/viden-om-demens/til-patienter-og-paaroerende
</loc>
<lastmod>2013-10-28</lastmod>
<PageMap xmlns="http://www.google.com/schemas/sitemap-pagemap/1.0">
<DataObject type="document" id="hibachi">
<Attribute name="category">En kategori</Attribute>
<Attribute name="date">20131028</Attribute>
</DataObject>
</PageMap>
</url>
Queries like this to get pages with a specific category:
q=patienter+more:pagemap:document-category:En kategori
But that don return the above page, instead in return other pages, that dont even have a category set. Any idea on what i need to do, to be able to search in pages with specific category attribute?
PS. the sitemap has been indexed by google after the changes where made.