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

Summary: Faqsuck enhance to get more information on wiki page
Product: www Reporter: skygo <skygo>
Component: Web ContentAssignee: Jan Pirek <jpirek>
Status: NEW ---    
Severity: normal    
Priority: P3    
Version: 7.4   
Hardware: Other   
OS: All   
Issue Type: ENHANCEMENT Exception Reporter:
Attachments: Faqsuck with jsoup
Output sample

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