You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@netbeans.apache.org by Antonio <an...@vieiro.net> on 2017/12/30 07:54:53 UTC

wiki-export tool (was Re: NetBeans Developer FAQ repository https://github.com/vieiro/nbwiki)

Hi,

I've modified the wiki extraction tool I talked about a while back. It 
now downloads images too.

As Geertjan suggested I've submitted a PR against the 
incubator-netbeans-tools repo:

https://github.com/apache/incubator-netbeans-tools/pull/4

I'm including the downloaded content also, to avoid overwhelming 
http://wiki.netbeans.org and to keep it for historical reasons (it 
includes proper Apache headers now).

I think we can use pandoc [1] to generate asciidoc files that could then 
be integrated with Wade's "jbake" repository & tooling.

Reviews & comments welcome.

Cheers,
Antonio

[1] http://pandoc.org/

On 23/12/17 14:12, Geertjan Wielenga wrote:
> I forgot we have a special repo for tools exactly like the one you've
> created, check it in here:
> 
> github.com/apache/incubator-netbeans-tools
> 
> Gj
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@netbeans.incubator.apache.org
For additional commands, e-mail: dev-help@netbeans.incubator.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists




Re: wiki-export tool (was Re: NetBeans Developer FAQ repository https://github.com/vieiro/nbwiki)

Posted by Antonio <an...@vieiro.net>.
I was concerned about tables, but these seem to be working as well [1]!

There's an index of entries in "index.mediawiki" [2], so we could 
redirect the NetBeansDeveloperFAQ to that. But I'm not sure it's a good 
idea to host this sort of content at github. Looks like abusing github 
bandwidth, doesn't it?

Transforming the mediawiki files to asciidoc and publishing those with 
Wade's jbake tool shouldn't be that difficult. Maybe it's worth doing.

Cheers,
Antonio


[1]
https://github.com/apache/incubator-netbeans-tools/blob/master/wiki-export/wiki-wikimedia/DevFaqLibrariesModuleDescriptions.mediawiki

[2]
https://github.com/apache/incubator-netbeans-tools/blob/master/wiki-export/wiki-wikimedia/index.mediawiki

On 30/12/17 12:00, Geertjan Wielenga wrote:
> Yes, it's really great. Syntax coloring and everything else too.
> 
> Maybe all we need to do now is redirect
> http://wiki.netbeans.org/NetBeansDeveloperFAQ to
> 
> https://github.com/apache/incubator-netbeans-tools/blob/master/wiki-export/wiki-wikimedia/
> 
> Gj
> 
> On Sat, Dec 30, 2017 at 10:47 AM, Antonio <an...@vieiro.net> wrote:
>> Ohhh, and with images! :-)
>>
>> https://github.com/apache/incubator-netbeans-tools/blob/master/wiki-export/wiki-wikimedia/DevFaqAppClientOnNbPlatformTut.mediawiki
>>
>>
>>
>> On 30/12/17 10:46, Antonio wrote:
>>>
>>> I didn't expect github recognizing mediawiki files! :-O
>>>
>>> See, for instance:
>>>
>>>
>>> https://github.com/apache/incubator-netbeans-tools/blob/master/wiki-export/wiki-wikimedia/DevFaqFindCaretPositionInEditor.mediawiki
>>>
>>> Cheers,
>>> Antonio
>>>
>>> On 30/12/17 08:54, Antonio wrote:
>>>>
>>>> Hi,
>>>>
>>>> I've modified the wiki extraction tool I talked about a while back. It
>>>> now downloads images too.
>>>>
>>>> As Geertjan suggested I've submitted a PR against the
>>>> incubator-netbeans-tools repo:
>>>>
>>>> https://github.com/apache/incubator-netbeans-tools/pull/4
>>>>
>>>> I'm including the downloaded content also, to avoid overwhelming
>>>> http://wiki.netbeans.org and to keep it for historical reasons (it includes
>>>> proper Apache headers now).
>>>>
>>>> I think we can use pandoc [1] to generate asciidoc files that could then
>>>> be integrated with Wade's "jbake" repository & tooling.
>>>>
>>>> Reviews & comments welcome.
>>>>
>>>> Cheers,
>>>> Antonio
>>>>
>>>> [1] http://pandoc.org/
>>>>
>>>> On 23/12/17 14:12, Geertjan Wielenga wrote:
>>>>>
>>>>> I forgot we have a special repo for tools exactly like the one you've
>>>>> created, check it in here:
>>>>>
>>>>> github.com/apache/incubator-netbeans-tools
>>>>>
>>>>> Gj
>>>>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe@netbeans.incubator.apache.org
>> For additional commands, e-mail: dev-help@netbeans.incubator.apache.org
>>
>> For further information about the NetBeans mailing lists, visit:
>> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
>>
>>
>>
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@netbeans.incubator.apache.org
> For additional commands, e-mail: dev-help@netbeans.incubator.apache.org
> 
> For further information about the NetBeans mailing lists, visit:
> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
> 
> 
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@netbeans.incubator.apache.org
For additional commands, e-mail: dev-help@netbeans.incubator.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists




Re: wiki-export tool (was Re: NetBeans Developer FAQ repository https://github.com/vieiro/nbwiki)

Posted by Geertjan Wielenga <ge...@googlemail.com>.
Yes, it's really great. Syntax coloring and everything else too.

Maybe all we need to do now is redirect
http://wiki.netbeans.org/NetBeansDeveloperFAQ to

https://github.com/apache/incubator-netbeans-tools/blob/master/wiki-export/wiki-wikimedia/

Gj

On Sat, Dec 30, 2017 at 10:47 AM, Antonio <an...@vieiro.net> wrote:
> Ohhh, and with images! :-)
>
> https://github.com/apache/incubator-netbeans-tools/blob/master/wiki-export/wiki-wikimedia/DevFaqAppClientOnNbPlatformTut.mediawiki
>
>
>
> On 30/12/17 10:46, Antonio wrote:
>>
>> I didn't expect github recognizing mediawiki files! :-O
>>
>> See, for instance:
>>
>>
>> https://github.com/apache/incubator-netbeans-tools/blob/master/wiki-export/wiki-wikimedia/DevFaqFindCaretPositionInEditor.mediawiki
>>
>> Cheers,
>> Antonio
>>
>> On 30/12/17 08:54, Antonio wrote:
>>>
>>> Hi,
>>>
>>> I've modified the wiki extraction tool I talked about a while back. It
>>> now downloads images too.
>>>
>>> As Geertjan suggested I've submitted a PR against the
>>> incubator-netbeans-tools repo:
>>>
>>> https://github.com/apache/incubator-netbeans-tools/pull/4
>>>
>>> I'm including the downloaded content also, to avoid overwhelming
>>> http://wiki.netbeans.org and to keep it for historical reasons (it includes
>>> proper Apache headers now).
>>>
>>> I think we can use pandoc [1] to generate asciidoc files that could then
>>> be integrated with Wade's "jbake" repository & tooling.
>>>
>>> Reviews & comments welcome.
>>>
>>> Cheers,
>>> Antonio
>>>
>>> [1] http://pandoc.org/
>>>
>>> On 23/12/17 14:12, Geertjan Wielenga wrote:
>>>>
>>>> I forgot we have a special repo for tools exactly like the one you've
>>>> created, check it in here:
>>>>
>>>> github.com/apache/incubator-netbeans-tools
>>>>
>>>> Gj
>>>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@netbeans.incubator.apache.org
> For additional commands, e-mail: dev-help@netbeans.incubator.apache.org
>
> For further information about the NetBeans mailing lists, visit:
> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
>
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@netbeans.incubator.apache.org
For additional commands, e-mail: dev-help@netbeans.incubator.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists




Re: wiki-export tool (was Re: NetBeans Developer FAQ repository https://github.com/vieiro/nbwiki)

Posted by Antonio <an...@vieiro.net>.
Ohhh, and with images! :-)

https://github.com/apache/incubator-netbeans-tools/blob/master/wiki-export/wiki-wikimedia/DevFaqAppClientOnNbPlatformTut.mediawiki


On 30/12/17 10:46, Antonio wrote:
> I didn't expect github recognizing mediawiki files! :-O
> 
> See, for instance:
> 
> https://github.com/apache/incubator-netbeans-tools/blob/master/wiki-export/wiki-wikimedia/DevFaqFindCaretPositionInEditor.mediawiki 
> 
> 
> Cheers,
> Antonio
> 
> On 30/12/17 08:54, Antonio wrote:
>> Hi,
>>
>> I've modified the wiki extraction tool I talked about a while back. It 
>> now downloads images too.
>>
>> As Geertjan suggested I've submitted a PR against the 
>> incubator-netbeans-tools repo:
>>
>> https://github.com/apache/incubator-netbeans-tools/pull/4
>>
>> I'm including the downloaded content also, to avoid overwhelming 
>> http://wiki.netbeans.org and to keep it for historical reasons (it 
>> includes proper Apache headers now).
>>
>> I think we can use pandoc [1] to generate asciidoc files that could 
>> then be integrated with Wade's "jbake" repository & tooling.
>>
>> Reviews & comments welcome.
>>
>> Cheers,
>> Antonio
>>
>> [1] http://pandoc.org/
>>
>> On 23/12/17 14:12, Geertjan Wielenga wrote:
>>> I forgot we have a special repo for tools exactly like the one you've
>>> created, check it in here:
>>>
>>> github.com/apache/incubator-netbeans-tools
>>>
>>> Gj
>>>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@netbeans.incubator.apache.org
For additional commands, e-mail: dev-help@netbeans.incubator.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists




Re: wiki-export tool (was Re: NetBeans Developer FAQ repository https://github.com/vieiro/nbwiki)

Posted by Antonio <an...@vieiro.net>.
I didn't expect github recognizing mediawiki files! :-O

See, for instance:

https://github.com/apache/incubator-netbeans-tools/blob/master/wiki-export/wiki-wikimedia/DevFaqFindCaretPositionInEditor.mediawiki

Cheers,
Antonio

On 30/12/17 08:54, Antonio wrote:
> Hi,
> 
> I've modified the wiki extraction tool I talked about a while back. It 
> now downloads images too.
> 
> As Geertjan suggested I've submitted a PR against the 
> incubator-netbeans-tools repo:
> 
> https://github.com/apache/incubator-netbeans-tools/pull/4
> 
> I'm including the downloaded content also, to avoid overwhelming 
> http://wiki.netbeans.org and to keep it for historical reasons (it 
> includes proper Apache headers now).
> 
> I think we can use pandoc [1] to generate asciidoc files that could then 
> be integrated with Wade's "jbake" repository & tooling.
> 
> Reviews & comments welcome.
> 
> Cheers,
> Antonio
> 
> [1] http://pandoc.org/
> 
> On 23/12/17 14:12, Geertjan Wielenga wrote:
>> I forgot we have a special repo for tools exactly like the one you've
>> created, check it in here:
>>
>> github.com/apache/incubator-netbeans-tools
>>
>> Gj
>>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@netbeans.incubator.apache.org
For additional commands, e-mail: dev-help@netbeans.incubator.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists




Re: wiki-export tool (was Re: NetBeans Developer FAQ repository https://github.com/vieiro/nbwiki)

Posted by Emilian Bold <em...@protonmail.ch>.
Great!

​
--emi

>-------- Original Message --------
>Subject: Re: wiki-export tool (was Re: NetBeans Developer FAQ repository https://github.com/vieiro/nbwiki)
>Local Time: 31 December 2017 12:24 PM
>UTC Time: 31 December 2017 10:24
>From: antonio@vieiro.net
>To: dev@netbeans.incubator.apache.org
>
>Hi,
>
> Yes, building a list of 301 redirections in a .htaccess file should be
> easy. We could then upload the .htaccess file to wiki.netbeans.org and
> we should be all set.
>
> Kind regards,
> Antonio
>
> On 31/12/17 11:10, Emilian Bold wrote:
>>+1
>>I like how this is turning out.
>>I just hope we get to keep the wiki.netbeans.org domain or at least add some HTTP 301 redirects for a while.
>>--emi
>>>-------- Original Message --------
>>> Subject: wiki-export tool (was Re: NetBeans Developer FAQ repository https://github.com/vieiro/nbwiki)
>>> Local Time: 30 December 2017 9:54 AM
>>> UTC Time: 30 December 2017 07:54
>>> From: antonio@vieiro.net
>>> To: dev@netbeans.incubator.apache.org
>>>Hi,
>>>I've modified the wiki extraction tool I talked about a while back. It
>>> now downloads images too.
>>>As Geertjan suggested I've submitted a PR against the
>>> incubator-netbeans-tools repo:
>>>https://github.com/apache/incubator-netbeans-tools/pull/4
>>>I'm including the downloaded content also, to avoid overwhelming
>>>http://wiki.netbeans.org and to keep it for historical reasons (it
>>> includes proper Apache headers now).
>>>I think we can use pandoc [1] to generate asciidoc files that could then
>>> be integrated with Wade's "jbake" repository & tooling.
>>>Reviews & comments welcome.
>>>Cheers,
>>> Antonio
>>>[1] http://pandoc.org/
>>>On 23/12/17 14:12, Geertjan Wielenga wrote:
>>>>I forgot we have a special repo for tools exactly like the one you've
>>>> created, check it in here:
>>>>github.com/apache/incubator-netbeans-tools
>>>> Gj
>>>>To unsubscribe, e-mail: dev-unsubscribe@netbeans.incubator.apache.org
>>> For additional commands, e-mail: dev-help@netbeans.incubator.apache.org
>>>For further information about the NetBeans mailing lists, visit:
>>>https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
>>>
>>To unsubscribe, e-mail: dev-unsubscribe@netbeans.incubator.apache.org
>> For additional commands, e-mail: dev-help@netbeans.incubator.apache.org
>>For further information about the NetBeans mailing lists, visit:
>>https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
>>
>
>To unsubscribe, e-mail: dev-unsubscribe@netbeans.incubator.apache.org
> For additional commands, e-mail: dev-help@netbeans.incubator.apache.org
>
> For further information about the NetBeans mailing lists, visit:
>https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
>
>
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@netbeans.incubator.apache.org
For additional commands, e-mail: dev-help@netbeans.incubator.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists




Re: wiki-export tool (was Re: NetBeans Developer FAQ repository https://github.com/vieiro/nbwiki)

Posted by Antonio <an...@vieiro.net>.
Hi,

Yes, building a list of 301 redirections in a .htaccess file should be 
easy. We could then upload the .htaccess file to wiki.netbeans.org and 
we should be all set.

Kind regards,
Antonio

On 31/12/17 11:10, Emilian Bold wrote:
> +1
> 
> I like how this is turning out.
> 
> I just hope we get to keep the wiki.netbeans.org domain or at least add some HTTP 301 redirects for a while.
> 
> --emi
> 
>> -------- Original Message --------
>> Subject: wiki-export tool (was Re: NetBeans Developer FAQ repository https://github.com/vieiro/nbwiki)
>> Local Time: 30 December 2017 9:54 AM
>> UTC Time: 30 December 2017 07:54
>> From: antonio@vieiro.net
>> To: dev@netbeans.incubator.apache.org
>>
>> Hi,
>>
>> I've modified the wiki extraction tool I talked about a while back. It
>> now downloads images too.
>>
>> As Geertjan suggested I've submitted a PR against the
>> incubator-netbeans-tools repo:
>>
>> https://github.com/apache/incubator-netbeans-tools/pull/4
>>
>> I'm including the downloaded content also, to avoid overwhelming
>> http://wiki.netbeans.org and to keep it for historical reasons (it
>> includes proper Apache headers now).
>>
>> I think we can use pandoc [1] to generate asciidoc files that could then
>> be integrated with Wade's "jbake" repository & tooling.
>>
>> Reviews & comments welcome.
>>
>> Cheers,
>> Antonio
>>
>> [1] http://pandoc.org/
>>
>> On 23/12/17 14:12, Geertjan Wielenga wrote:
>>> I forgot we have a special repo for tools exactly like the one you've
>>> created, check it in here:
>>> github.com/apache/incubator-netbeans-tools
>>> Gj
>>>
>>
>> To unsubscribe, e-mail: dev-unsubscribe@netbeans.incubator.apache.org
>> For additional commands, e-mail: dev-help@netbeans.incubator.apache.org
>>
>> For further information about the NetBeans mailing lists, visit:
>> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
>>
>>
>>
>>
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@netbeans.incubator.apache.org
> For additional commands, e-mail: dev-help@netbeans.incubator.apache.org
> 
> For further information about the NetBeans mailing lists, visit:
> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
> 
> 
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@netbeans.incubator.apache.org
For additional commands, e-mail: dev-help@netbeans.incubator.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists




Re: wiki-export tool (was Re: NetBeans Developer FAQ repository https://github.com/vieiro/nbwiki)

Posted by Emilian Bold <em...@protonmail.ch>.
+1

I like how this is turning out.

I just hope we get to keep the wiki.netbeans.org domain or at least add some HTTP 301 redirects for a while.

--emi

>-------- Original Message --------
>Subject: wiki-export tool (was Re: NetBeans Developer FAQ repository https://github.com/vieiro/nbwiki)
>Local Time: 30 December 2017 9:54 AM
>UTC Time: 30 December 2017 07:54
>From: antonio@vieiro.net
>To: dev@netbeans.incubator.apache.org
>
>Hi,
>
> I've modified the wiki extraction tool I talked about a while back. It
> now downloads images too.
>
> As Geertjan suggested I've submitted a PR against the
> incubator-netbeans-tools repo:
>
>https://github.com/apache/incubator-netbeans-tools/pull/4
>
> I'm including the downloaded content also, to avoid overwhelming
>http://wiki.netbeans.org and to keep it for historical reasons (it
> includes proper Apache headers now).
>
> I think we can use pandoc [1] to generate asciidoc files that could then
> be integrated with Wade's "jbake" repository & tooling.
>
> Reviews & comments welcome.
>
> Cheers,
> Antonio
>
> [1] http://pandoc.org/
>
> On 23/12/17 14:12, Geertjan Wielenga wrote:
>>I forgot we have a special repo for tools exactly like the one you've
>> created, check it in here:
>>github.com/apache/incubator-netbeans-tools
>>Gj
>>
>
>To unsubscribe, e-mail: dev-unsubscribe@netbeans.incubator.apache.org
> For additional commands, e-mail: dev-help@netbeans.incubator.apache.org
>
> For further information about the NetBeans mailing lists, visit:
>https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
>
>
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@netbeans.incubator.apache.org
For additional commands, e-mail: dev-help@netbeans.incubator.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists