digitalutsc / islandora_web_annotations

An Islandora module that enables annotation on Islandora objects, following the W3C Web annotation model.
GNU General Public License v3.0
7 stars 5 forks source link

Issue 171 #214

Closed kimpham54 closed 7 years ago

kimpham54 commented 7 years ago

What does this Pull Request do?

Related to https://github.com/digitalutsc/islandora_web_annotations/issues/171 Couldn't use Views PHP, also had to add views for particular content models. Did a final cleanup and updated the wiki for installation.

What's new?

How should this be tested?

/usr/local/solr/collection1/conf/schema.xml

<field name="annotation_value" type="text" indexed="true" stored="true" multiValued="true"/>
<field name="annotation_value_render" type="text" indexed="true" stored="true" multiValued="false"/>

<copyField source="annotation_value" dest="annotation_value_render"/>

vi /usr/local/solr/collection1/conf/solrconfig.xml
annotation_value^1 annotation_value_render^1

Interested parties

@Natkeeran @MarcusBarnes

kimpham54 commented 7 years ago

not sure why the build is failing... let me know and I can fix it

kimpham54 commented 7 years ago

@MarcusBarnes Just added a new commit, added the fgs_ownerID field to views to indicate the author of an annotation

MarcusBarnes commented 7 years ago

Tested and appears to work as expected. Updating the documentation to provide details on how to adjust the view blocks would be useful.