{"action":"created","issue":{"url":"https://api.github.com/repos/dita-ot/dita-ot/issues/1722","repository_url":"https://api.github.com/repos/dita-ot/dita-ot","labels_url":"https://api.github.com/repos/dita-ot/dita-ot/issues/1722/labels{/name}","comments_url":"https://api.github.com/repos/dita-ot/dita-ot/issues/1722/comments","events_url":"https://api.github.com/repos/dita-ot/dita-ot/issues/1722/events","html_url":"https://github.com/dita-ot/dita-ot/pull/1722","id":39797460,"number":1722,"title":"Add author info onto PDF cover for normal maps #1677","user":{"login":"eerohele","id":31859,"avatar_url":"https://avatars.githubusercontent.com/u/31859?v=3","gravatar_id":"","url":"https://api.github.com/users/eerohele","html_url":"https://github.com/eerohele","followers_url":"https://api.github.com/users/eerohele/followers","following_url":"https://api.github.com/users/eerohele/following{/other_user}","gists_url":"https://api.github.com/users/eerohele/gists{/gist_id}","starred_url":"https://api.github.com/users/eerohele/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eerohele/subscriptions","organizations_url":"https://api.github.com/users/eerohele/orgs","repos_url":"https://api.github.com/users/eerohele/repos","events_url":"https://api.github.com/users/eerohele/events{/privacy}","received_events_url":"https://api.github.com/users/eerohele/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/dita-ot/dita-ot/labels/feature","name":"feature","color":"02e10c"},{"url":"https://api.github.com/repos/dita-ot/dita-ot/labels/pdf","name":"pdf","color":"84b6e8"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2014-08-08T07:07:41Z","updated_at":"2016-05-03T20:13:45Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/dita-ot/dita-ot/pulls/1722","html_url":"https://github.com/dita-ot/dita-ot/pull/1722","diff_url":"https://github.com/dita-ot/dita-ot/pull/1722.diff","patch_url":"https://github.com/dita-ot/dita-ot/pull/1722.patch"},"body":"[Fixtures](https://github.com/eerohele/dita-ot-issues/tree/master/fixtures/1677).\r\n\r\nI'm not sure the `<xsl:template match=\"*[contains(@class, ' map/topicmeta ')][not(parent::opentopic:map)]\">` template is actually 100% necessary, but I suppose it's a bit easier to add processing for `<topicmeta>` elements that aren't children of `<map>` if it's there since you can theoretically just do something like `<xsl:apply-templates select=\"$whatever/*[contains(@class, ' map/topicmeta ')]\"/>` and have some kind of default processing.\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/dita-ot/dita-ot/issues/comments/216651023","html_url":"https://github.com/dita-ot/dita-ot/pull/1722#issuecomment-216651023","issue_url":"https://api.github.com/repos/dita-ot/dita-ot/issues/1722","id":216651023,"user":{"login":"robander","id":1649639,"avatar_url":"https://avatars.githubusercontent.com/u/1649639?v=3","gravatar_id":"","url":"https://api.github.com/users/robander","html_url":"https://github.com/robander","followers_url":"https://api.github.com/users/robander/followers","following_url":"https://api.github.com/users/robander/following{/other_user}","gists_url":"https://api.github.com/users/robander/gists{/gist_id}","starred_url":"https://api.github.com/users/robander/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/robander/subscriptions","organizations_url":"https://api.github.com/users/robander/orgs","repos_url":"https://api.github.com/users/robander/repos","events_url":"https://api.github.com/users/robander/events{/privacy}","received_events_url":"https://api.github.com/users/robander/received_events","type":"User","site_admin":false},"created_at":"2016-05-03T20:13:45Z","updated_at":"2016-05-03T20:13:45Z","body":"Tested this change in 2.2.4 - it can add a lot more than the author onto covers. I created a couple of maps that use an excessive amount of metadata, including elements that have no general purpose at the map level, such as `<linktext>`. In a normal map, this change adds a lot of this material on the cover; in a bookmap, it adds less, but still more than I want. In both cases my cover gets navigation titles from child topics (this may be due to other changes in processing since the pull request was created).\r\n\r\nI have created maps like this for testing in the past but couldn't find them; this time, I've posted them here for later reuse: https://github.com/robander/metadita/tree/master/sampledocs/metadata"}}