{"action":"created","issue":{"url":"https://api.github.com/repos/wsexport/tool/issues/111","repository_url":"https://api.github.com/repos/wsexport/tool","labels_url":"https://api.github.com/repos/wsexport/tool/issues/111/labels{/name}","comments_url":"https://api.github.com/repos/wsexport/tool/issues/111/comments","events_url":"https://api.github.com/repos/wsexport/tool/issues/111/events","html_url":"https://github.com/wsexport/tool/issues/111","id":168008224,"number":111,"title":"ePuB and PDF of complete books are not created in Bengali Wikisource","user":{"login":"BodhisattwaMandal","id":13746143,"avatar_url":"https://avatars.githubusercontent.com/u/13746143?v=3","gravatar_id":"","url":"https://api.github.com/users/BodhisattwaMandal","html_url":"https://github.com/BodhisattwaMandal","followers_url":"https://api.github.com/users/BodhisattwaMandal/followers","following_url":"https://api.github.com/users/BodhisattwaMandal/following{/other_user}","gists_url":"https://api.github.com/users/BodhisattwaMandal/gists{/gist_id}","starred_url":"https://api.github.com/users/BodhisattwaMandal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BodhisattwaMandal/subscriptions","organizations_url":"https://api.github.com/users/BodhisattwaMandal/orgs","repos_url":"https://api.github.com/users/BodhisattwaMandal/repos","events_url":"https://api.github.com/users/BodhisattwaMandal/events{/privacy}","received_events_url":"https://api.github.com/users/BodhisattwaMandal/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-07-28T03:47:34Z","updated_at":"2016-07-28T07:02:09Z","closed_at":null,"body":"Hi, this tool is not creating the ePuB and PDF version of complete books in Bengali Wikisource. Only the cover page of the book is created, subpages are not included at all. "},"comment":{"url":"https://api.github.com/repos/wsexport/tool/issues/comments/235815768","html_url":"https://github.com/wsexport/tool/issues/111#issuecomment-235815768","issue_url":"https://api.github.com/repos/wsexport/tool/issues/111","id":235815768,"user":{"login":"Tpt","id":458123,"avatar_url":"https://avatars.githubusercontent.com/u/458123?v=3","gravatar_id":"","url":"https://api.github.com/users/Tpt","html_url":"https://github.com/Tpt","followers_url":"https://api.github.com/users/Tpt/followers","following_url":"https://api.github.com/users/Tpt/following{/other_user}","gists_url":"https://api.github.com/users/Tpt/gists{/gist_id}","starred_url":"https://api.github.com/users/Tpt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Tpt/subscriptions","organizations_url":"https://api.github.com/users/Tpt/orgs","repos_url":"https://api.github.com/users/Tpt/repos","events_url":"https://api.github.com/users/Tpt/events{/privacy}","received_events_url":"https://api.github.com/users/Tpt/received_events","type":"User","site_admin":false},"created_at":"2016-07-28T07:02:09Z","updated_at":"2016-07-28T07:02:09Z","body":"I've tried to reproduce this issue on a Bengali Wikisource book and it seems to work for me. Could you give me some example of books experiencing this problem, please?\r\n\r\nThe current algorithm used in Wsexport to extract the table of content (TOC) of the book (and so, include the other pages of the book) is:\r\n- look for nodes in the pages with class=\"ws-summary\" (it could be directly <div class=\"ws-summary\">MY_TOC</div> in the page wikitext of an equivalent thing done using templates)\r\n- if such nodes are found, use the list of links in them to build the TOC\r\n- if not look for all links to subpages and use the returned list as TOC"}}
{"actor":{"display_login":"Tpt"}}