This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 239496 - Faqsuck enhance to get more information on wiki page
Summary: Faqsuck enhance to get more information on wiki page
Status: NEW
Alias: None
Product: www
Classification: Unclassified
Component: Web Content (show other bugs)
Version: 7.4
Hardware: Other All
: P3 normal (vote)
Assignee: Jan Pirek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-12-14 18:14 UTC by skygo
Modified: 2013-12-14 18:16 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments
Faqsuck with jsoup (21.96 KB, application/zip)
2013-12-14 18:14 UTC, skygo
Details
Output sample (357.64 KB, application/zip)
2013-12-14 18:16 UTC, skygo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description skygo 2013-12-14 18:14:49 UTC
Created attachment 143183 [details]
Faqsuck with jsoup

Hi,
  I was trying to improve wiki dev faq because while navigating on it, I was stuck on no more existing page.

 I knew that faqsuck was able to parse in a big file all devfaq. 
 I "fork on faqsuck" and replace Regexp by Css selector via a libraty to browse html document.
  Some addition to the previous faqsuck 
   -cache all toc link and replace only cached links in the faqitem to avoid that netbeans wiki page not in the faq linked a internal to the page.
   -external link open new page or tab
   -back to top link
  - During the faq generation it generates a second file to list some issue encoutred.
    wrong wiki link pattern [http://wiki.netbeans.org/Dummy] instead of [[Dummy]]
    regroup all external link to review them (no direct check)
    toc item containing more than one link are also found.

Arguments to pass to Main class are:
http://wiki.netbeans.org/NetBeansDeveloperFAQ http://wiki.netbeans.org faq.html faqi.html
Comment 1 skygo 2013-12-14 18:16:08 UTC
Created attachment 143184 [details]
Output sample