{"action":"opened","issue":{"url":"https://api.github.com/repos/connected-web/product-monitor/issues/50","labels_url":"https://api.github.com/repos/connected-web/product-monitor/issues/50/labels{/name}","comments_url":"https://api.github.com/repos/connected-web/product-monitor/issues/50/comments","events_url":"https://api.github.com/repos/connected-web/product-monitor/issues/50/events","html_url":"https://github.com/connected-web/product-monitor/issues/50","id":122852301,"number":50,"title":"Scan `*.content.html` fragments for `<h1>title</h1>` tags, and use this for Navigation","user":{"login":"Markavian","id":1431385,"avatar_url":"https://avatars.githubusercontent.com/u/1431385?v=3","gravatar_id":"","url":"https://api.github.com/users/Markavian","html_url":"https://github.com/Markavian","followers_url":"https://api.github.com/users/Markavian/followers","following_url":"https://api.github.com/users/Markavian/following{/other_user}","gists_url":"https://api.github.com/users/Markavian/gists{/gist_id}","starred_url":"https://api.github.com/users/Markavian/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Markavian/subscriptions","organizations_url":"https://api.github.com/users/Markavian/orgs","repos_url":"https://api.github.com/users/Markavian/repos","events_url":"https://api.github.com/users/Markavian/events{/privacy}","received_events_url":"https://api.github.com/users/Markavian/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/connected-web/product-monitor/labels/enhancement","name":"enhancement","color":"84b6eb"},{"url":"https://api.github.com/repos/connected-web/product-monitor/labels/feature%20request","name":"feature request","color":"fbca04"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-12-18T00:30:31Z","updated_at":"2015-12-18T00:30:31Z","closed_at":null,"body":"Currently the format of the file name is used to set the Navigation link.\r\n\r\nFor example, `my-monitor-page.content.html` gets converted to `My monitor page` by replacing dashes.\r\n\r\nWhen generating the navigation, it would be better if the `*.content.html` fragment be scanned for `<h1>title</h1>` tags, and use the text content of this field (including only alpha-numeric, dash, quotes, punctuation).\r\n\r\nConsider using a library like [Cheerio](https://github.com/cheeriojs/cheerio) for this purpose."}}