{"action":"created","issue":{"url":"https://api.github.com/repos/duckduckgo/zeroclickinfo-fathead/issues/407","repository_url":"https://api.github.com/repos/duckduckgo/zeroclickinfo-fathead","labels_url":"https://api.github.com/repos/duckduckgo/zeroclickinfo-fathead/issues/407/labels{/name}","comments_url":"https://api.github.com/repos/duckduckgo/zeroclickinfo-fathead/issues/407/comments","events_url":"https://api.github.com/repos/duckduckgo/zeroclickinfo-fathead/issues/407/events","html_url":"https://github.com/duckduckgo/zeroclickinfo-fathead/issues/407","id":181199900,"number":407,"title":"C++ Reference Docs: Switch to use new Fathead Template Elements","user":{"login":"moollaza","id":873785,"avatar_url":"https://avatars.githubusercontent.com/u/873785?v=3","gravatar_id":"","url":"https://api.github.com/users/moollaza","html_url":"https://github.com/moollaza","followers_url":"https://api.github.com/users/moollaza/followers","following_url":"https://api.github.com/users/moollaza/following{/other_user}","gists_url":"https://api.github.com/users/moollaza/gists{/gist_id}","starred_url":"https://api.github.com/users/moollaza/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/moollaza/subscriptions","organizations_url":"https://api.github.com/users/moollaza/orgs","repos_url":"https://api.github.com/users/moollaza/repos","events_url":"https://api.github.com/users/moollaza/events{/privacy}","received_events_url":"https://api.github.com/users/moollaza/received_events","type":"User","site_admin":false},"labels":[{"id":47287094,"url":"https://api.github.com/repos/duckduckgo/zeroclickinfo-fathead/labels/Low-Hanging%20Fruit","name":"Low-Hanging Fruit","color":"009800","default":false},{"id":430128253,"url":"https://api.github.com/repos/duckduckgo/zeroclickinfo-fathead/labels/Mission:%20Programming","name":"Mission: Programming","color":"60a5da","default":false},{"id":76416180,"url":"https://api.github.com/repos/duckduckgo/zeroclickinfo-fathead/labels/Priority:%20High","name":"Priority: High","color":"eb6420","default":false},{"id":478412810,"url":"https://api.github.com/repos/duckduckgo/zeroclickinfo-fathead/labels/Skill:%20Python","name":"Skill: Python","color":"5319e7","default":false},{"id":176936433,"url":"https://api.github.com/repos/duckduckgo/zeroclickinfo-fathead/labels/Status:%20Work%20In%20Progress","name":"Status: Work In Progress","color":"fbca04","default":false},{"id":451259061,"url":"https://api.github.com/repos/duckduckgo/zeroclickinfo-fathead/labels/Topic:%20C++","name":"Topic: C++","color":"c5def5","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":13,"created_at":"2016-10-05T16:13:48Z","updated_at":"2016-11-18T16:29:16Z","closed_at":null,"body":"We now have [Fathead Template Elements](https://docs.duckduckhack.com/resources/fathead-overview.html#formatting-the-abstract) designed specifically for Programming Fatheads. These are HTML elements that should be added to the output.txt by each Programming Fathead's parsing script(s).\r\n\r\nThis Fathead should be updated to use the templates:\r\n- The entire abstract should be wrapped in a `<div>` with class `prog__container`\r\n- Any text before/after the code blocks must be wrapped in `<p>` tags\r\n- Any subheadings should be wrapped in a `<div>` with class `prog__sub`\r\n\r\nHere is an example:\r\n\r\n``` html\r\n<section class=\"prog__container\">\r\n    <p>Creates a JavaScript Date instance that represents a single moment in time.</p>\r\n    <pre>\r\n        <code>\r\n            new Date;\r\n            new Date(value);\r\n            new Date(dateString);\r\n            new Date(year, month[, day[, hour[, minutes[, seconds[, milliseconds]]]]]);\r\n        </code>\r\n    </pre>\r\n    <span class=\"prog__sub\">Return Value</span>\r\n    <p>The removed element.</p>\r\n</section>\r\n```\r\n\n---\r\n\r\nThis issue is part of the [Programming Mission](https://forum.duckduckhack.com/t/duckduckhack-programming-mission-overview/53): help us improve the results for [C++ related searches](https://forum.duckduckhack.com/t/https://forum.duckduckhack.com/c/programming/66-category)!\r\n\r\n---\r\n\r\nIA Page:  http://duck.co/ia/view/cppreference_doc \r\n[Maintainer](http://docs.duckduckhack.com/maintaining/guidelines.html): @ManrajGrover"},"comment":{"url":"https://api.github.com/repos/duckduckgo/zeroclickinfo-fathead/issues/comments/261575275","html_url":"https://github.com/duckduckgo/zeroclickinfo-fathead/issues/407#issuecomment-261575275","issue_url":"https://api.github.com/repos/duckduckgo/zeroclickinfo-fathead/issues/407","id":261575275,"user":{"login":"p12tic","id":1056711,"avatar_url":"https://avatars.githubusercontent.com/u/1056711?v=3","gravatar_id":"","url":"https://api.github.com/users/p12tic","html_url":"https://github.com/p12tic","followers_url":"https://api.github.com/users/p12tic/followers","following_url":"https://api.github.com/users/p12tic/following{/other_user}","gists_url":"https://api.github.com/users/p12tic/gists{/gist_id}","starred_url":"https://api.github.com/users/p12tic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/p12tic/subscriptions","organizations_url":"https://api.github.com/users/p12tic/orgs","repos_url":"https://api.github.com/users/p12tic/repos","events_url":"https://api.github.com/users/p12tic/events{/privacy}","received_events_url":"https://api.github.com/users/p12tic/received_events","type":"User","site_admin":false},"created_at":"2016-11-18T16:29:16Z","updated_at":"2016-11-18T16:29:16Z","body":"It looks like simple fix @sergey-krusch (https://github.com/p12tic/cppreference-doc/commit/7352ebdbb5c35b393b41a8395193e87a1876d401) has been actually enough to solve this specific issue. I've merged that to cppreference-doc repo and additionally did some extra stuff :-)\r\n - refactored the code generating output.txt\r\n - merged code snippets into single code block so that it's less confusing\r\n - added command-line config options so that it's possible to somewhat configure the output.txt generation from parse.sh in this repository\r\n\r\nI have output.txt that I would like to test: https://gist.github.com/p12tic/87488c7d68715b267100b3b69de46005. Could someone configure it on the beta website so that we could test it?"}}
{"actor":{"display_login":"p12tic"}}