Re: [ros-users] Links to API in dump of Wiki

Forside
Vedhæftede filer:
Indlæg som e-mail
+ (text/plain)
Slet denne besked
Besvar denne besked
Skribent: User discussions
Dato:  
Til: User discussions
Emne: Re: [ros-users] Links to API in dump of Wiki
On Mon, Sep 5, 2011 at 12:28 AM, Felix Endres
<> wrote:
> yep, that worked :-). Would be great if you incorporated that. If that doesn't
> work for you, I could also put it in the download-and-extract script I use
> (and which is available at http://answers.ros.org/question/977).


Great, thanks for letting me know. I added the extra sed expression
to the dump script, and just kicked off a job. You should see fresh
tarballs in a few hours.

    brian.



> Brian Gerkey schrieb am Montag 29 August 2011:
>> On Mon, Aug 29, 2011 at 6:14 AM, Felix Endres
>>
>> <> wrote:
>> > with the new structure in the "Package Links" on ros.org/wiki, the links
>> > to the code api are now absolute. This is bad for mirrors created from
>> > the dump files at http://www.ros.org/wiki_dump, as they thus point to
>> > ros.org, not the mirror server.
>> > Could someone fix this please (or tell me where to do it myself)?
>>
>> hi Felix,
>>
>> Thanks for the report.  Looks like the problem is that the links (or
>> least some of them) now point to ros.org, instead of www.ros.org,
>> which makes the sed expression not match.
>>
>> Try the following:
>>
>> sed -i 's+http://ros.org/doc/+doc/+g' roswiki/*.html
>>
>> Let me know if that fixes the problem, and I'll add it to the dump script.
>>
>> > P.S: In case ros.org is down: We mirror wiki and code api at
>> > http://ros.informatik.uni-freiburg.de/roswiki/
>>
>> Very cool!
>>
>> Btw, relevant tickets for wiki dumping:
>> https://code.ros.org/trac/ros/ticket/3281 (includes the simple script
>> we're using to make the dump)
>> https://code.ros.org/trac/ros/ticket/3282
>>
>>       brian.
>> _______________________________________________
>> ros-users mailing list
>>
>> https://code.ros.org/mailman/listinfo/ros-users
> _______________________________________________
> ros-users mailing list
>
> https://code.ros.org/mailman/listinfo/ros-users
>