{"action":"created","issue":{"url":"https://api.github.com/repos/digitalutsc/islandora_solution_pack_oralhistories/issues/10","repository_url":"https://api.github.com/repos/digitalutsc/islandora_solution_pack_oralhistories","labels_url":"https://api.github.com/repos/digitalutsc/islandora_solution_pack_oralhistories/issues/10/labels{/name}","comments_url":"https://api.github.com/repos/digitalutsc/islandora_solution_pack_oralhistories/issues/10/comments","events_url":"https://api.github.com/repos/digitalutsc/islandora_solution_pack_oralhistories/issues/10/events","html_url":"https://github.com/digitalutsc/islandora_solution_pack_oralhistories/pull/10","id":185495110,"number":10,"title":"vtt indexing related updates","user":{"login":"Natkeeran","id":1827166,"avatar_url":"https://avatars.githubusercontent.com/u/1827166?v=3","gravatar_id":"","url":"https://api.github.com/users/Natkeeran","html_url":"https://github.com/Natkeeran","followers_url":"https://api.github.com/users/Natkeeran/followers","following_url":"https://api.github.com/users/Natkeeran/following{/other_user}","gists_url":"https://api.github.com/users/Natkeeran/gists{/gist_id}","starred_url":"https://api.github.com/users/Natkeeran/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Natkeeran/subscriptions","organizations_url":"https://api.github.com/users/Natkeeran/orgs","repos_url":"https://api.github.com/users/Natkeeran/repos","events_url":"https://api.github.com/users/Natkeeran/events{/privacy}","received_events_url":"https://api.github.com/users/Natkeeran/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":{"login":"MarcusBarnes","id":938274,"avatar_url":"https://avatars.githubusercontent.com/u/938274?v=3","gravatar_id":"","url":"https://api.github.com/users/MarcusBarnes","html_url":"https://github.com/MarcusBarnes","followers_url":"https://api.github.com/users/MarcusBarnes/followers","following_url":"https://api.github.com/users/MarcusBarnes/following{/other_user}","gists_url":"https://api.github.com/users/MarcusBarnes/gists{/gist_id}","starred_url":"https://api.github.com/users/MarcusBarnes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MarcusBarnes/subscriptions","organizations_url":"https://api.github.com/users/MarcusBarnes/orgs","repos_url":"https://api.github.com/users/MarcusBarnes/repos","events_url":"https://api.github.com/users/MarcusBarnes/events{/privacy}","received_events_url":"https://api.github.com/users/MarcusBarnes/received_events","type":"User","site_admin":false},"assignees":[{"login":"MarcusBarnes","id":938274,"avatar_url":"https://avatars.githubusercontent.com/u/938274?v=3","gravatar_id":"","url":"https://api.github.com/users/MarcusBarnes","html_url":"https://github.com/MarcusBarnes","followers_url":"https://api.github.com/users/MarcusBarnes/followers","following_url":"https://api.github.com/users/MarcusBarnes/following{/other_user}","gists_url":"https://api.github.com/users/MarcusBarnes/gists{/gist_id}","starred_url":"https://api.github.com/users/MarcusBarnes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MarcusBarnes/subscriptions","organizations_url":"https://api.github.com/users/MarcusBarnes/orgs","repos_url":"https://api.github.com/users/MarcusBarnes/repos","events_url":"https://api.github.com/users/MarcusBarnes/events{/privacy}","received_events_url":"https://api.github.com/users/MarcusBarnes/received_events","type":"User","site_admin":false}],"milestone":null,"comments":3,"created_at":"2016-10-26T20:01:32Z","updated_at":"2016-10-27T15:57:10Z","closed_at":"2016-10-27T15:03:17Z","pull_request":{"url":"https://api.github.com/repos/digitalutsc/islandora_solution_pack_oralhistories/pulls/10","html_url":"https://github.com/digitalutsc/islandora_solution_pack_oralhistories/pull/10","diff_url":"https://github.com/digitalutsc/islandora_solution_pack_oralhistories/pull/10.diff","patch_url":"https://github.com/digitalutsc/islandora_solution_pack_oralhistories/pull/10.patch"},"body":"When vtt is uploaded, an xml datastream is created for solr indexing purposes.  \r\n\r\nDetail discussion here: \r\nhttps://groups.google.com/forum/#!searchin/islandora/indexing$20text$20datastream%7Csort:relevance/islandora/W4gnRHVnS4I/1ULKHSqRAwAJ\r\n\r\nConfig details:\r\n\r\n**foxmlToSolr.xslt**\r\n\r\n<xsl:include href=\"/var/lib/tomcat7/webapps/fedoragsearch/WEB-INF/classes/fgsconfigFinal/index/FgsIndex/islandora_transforms/vtt_solr.xslt\"/>`\r\n\r\n\r\nTo tell not to try to index TRANSCRIPT if mimetype is vtt      \r\n```\r\n    <xsl:when test=\"@CONTROL_GROUP='M' and @ID='TRANSCRIPT' and foxml:datastreamVersion[last()][@MIMETYPE='text/vtt']\">\r\n          </xsl:when>     \r\n\r\n```\r\n**Vtt_solr.xslt**\r\n(Currently we are just putting into a single variable.  It is xml, we can parse it as required.)\r\n\r\n```\r\n\r\n<?xml version=\"1.0\" encoding=\"UTF-8\"?>\r\n<!-- ORALHISTORIES TRANSCRIPT -->\r\n<xsl:stylesheet version=\"1.0\" xmlns:xsl=\"http://www.w3.org/1999/XSL/Transform\" xmlns:foxml=\"info:fedora/fedora-system:def/foxml#\" xmlns:dcterms=\"http://purl.org/dc/terms/\">\r\n\r\n <xsl:template match=\"foxml:datastream[contains(@ID, 'INDEXMEDIATRACK') or contains(@ID, 'INDEXTRANSCRIPT')]/foxml:datastreamVersion[last()]\" name=\"index_VTT\">\r\n    \r\n     <xsl:param name=\"prefix\">vtt_</xsl:param>\r\n     <xsl:param name=\"content\"/>    \r\n\r\n    <field>\r\n      <xsl:attribute name=\"name\">\r\n        <xsl:value-of select=\"concat($prefix, 'content')\"/>\r\n      </xsl:attribute>\r\n      <xsl:value-of select=\"$content\"/>\r\n  </field>     \r\n </xsl:template>\r\n</xsl:stylesheet>\r\n\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/digitalutsc/islandora_solution_pack_oralhistories/issues/comments/256687705","html_url":"https://github.com/digitalutsc/islandora_solution_pack_oralhistories/pull/10#issuecomment-256687705","issue_url":"https://api.github.com/repos/digitalutsc/islandora_solution_pack_oralhistories/issues/10","id":256687705,"user":{"login":"MarcusBarnes","id":938274,"avatar_url":"https://avatars.githubusercontent.com/u/938274?v=3","gravatar_id":"","url":"https://api.github.com/users/MarcusBarnes","html_url":"https://github.com/MarcusBarnes","followers_url":"https://api.github.com/users/MarcusBarnes/followers","following_url":"https://api.github.com/users/MarcusBarnes/following{/other_user}","gists_url":"https://api.github.com/users/MarcusBarnes/gists{/gist_id}","starred_url":"https://api.github.com/users/MarcusBarnes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MarcusBarnes/subscriptions","organizations_url":"https://api.github.com/users/MarcusBarnes/orgs","repos_url":"https://api.github.com/users/MarcusBarnes/repos","events_url":"https://api.github.com/users/MarcusBarnes/events{/privacy}","received_events_url":"https://api.github.com/users/MarcusBarnes/received_events","type":"User","site_admin":false},"created_at":"2016-10-27T15:57:10Z","updated_at":"2016-10-27T15:57:10Z","body":"@Natkeeran Thank you for confirming.  I'll create a ticket.  "}}
{"actor":{"display_login":"MarcusBarnes"}}