yeah - have asked civi team if they can lend a hand too.  will get on with this from friday evening onwards ...<br><br><div class="gmail_quote">On 17 February 2011 11:17, adam hyde <span dir="ltr"><<a href="mailto:adam@flossmanuals.net">adam@flossmanuals.net</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">ah good!  you already know the syntax then since we did this with civi<br>
<font color="#888888"><br>
<br>
adam<br>
</font><div><div></div><div class="h5"><br>
<br>
On Thu, 2011-02-17 at 11:14 +0000, Michael McAndrew wrote:<br>
> i can help with this :)<br>
><br>
> On 17 February 2011 11:08, adam hyde <<a href="mailto:adam@flossmanuals.net">adam@flossmanuals.net</a>> wrote:<br>
>         hi,<br>
><br>
>         I want to start the new fm site next week but i have so much<br>
>         on i dont<br>
>         have enough time to prepare everything for it. the need is<br>
>         getting<br>
>         pressing.<br>
><br>
>         One of the issues is that I want to redirect urls so that the<br>
>         old links<br>
>         to chapters in current manuals still work. if we dont do this<br>
>         then all<br>
>         links that are out there in the www will turn up 404 since the<br>
>         chapter<br>
>         urls will be different.<br>
><br>
>         I need everyone that needs a old chapter url mapped onto a new<br>
>         url to be<br>
>         able to visit a form online and  enter the old url into a<br>
>         textfield ,<br>
>         then the corresponding new url into another textfield. then<br>
>         press<br>
>         'submit'. at the end of each day or ondemand depending on how<br>
>         much time<br>
>         i have, i will remap it all manually in the htaccess files. if<br>
>         i can<br>
>         simply copy and paste an already formatted redirect command<br>
>         that would<br>
>         make it fast...<br>
><br>
>         is there anyone out there that can make a very simple php<br>
>         script to<br>
>         help? it needs to do this:<br>
><br>
>         have two fields:<br>
>         old url:<br>
>         new url:<br>
><br>
>         [submit]<br>
><br>
>         -----<br>
>         the php file then takes the last two parts of each path:<br>
>         oldurl = [manualname]/[oldchapter]<br>
><br>
>         and<br>
><br>
>         newurl = [manualname]/[newchapter]<br>
><br>
><br>
>         then does the following :<br>
>         writes a text file with the right redirect command (I can send<br>
>         anyone<br>
>         that wants this the syntax off list).<br>
><br>
>         *and* writes the request onto the form at the bottom so people<br>
>         can see<br>
>         which urls have already been requested to redirect<br>
><br>
><br>
>         anyone ok to help me with this?<br>
><br>
>         adam<br>
><br>
><br>
><br>
><br>
><br>
><br>
><br>
><br>
>         --<br>
><br>
><br>
><br>
><br>
><br>
>         Adam Hyde<br>
>         Founder FLOSS Manuals &<br>
>         Booki Project Manager<br>
><br>
>         Contact Information<br>
>         German mobile : + 49 177 4935122<br>
>         Email : <a href="mailto:adam@flossmanuals.net">adam@flossmanuals.net</a><br>
>         irc : <a href="http://irc.freenode.net" target="_blank">irc.freenode.net</a> #flossmanuals<br>
><br>
><br>
>         "Free manuals for free software"<br>
>         <a href="http://www.flossmanuals.net/about" target="_blank">http://www.flossmanuals.net/about</a><br>
><br>
>         Free Software for making Free Books<br>
>         <a href="http://www.booki.cc/" target="_blank">http://www.booki.cc/</a><br>
><br>
>         _______________________________________________<br>
>         Discuss mailing list<br>
>         <a href="mailto:Discuss@lists.flossmanuals.net">Discuss@lists.flossmanuals.net</a><br>
>         <a href="http://lists.flossmanuals.net/listinfo.cgi/discuss-flossmanuals.net" target="_blank">http://lists.flossmanuals.net/listinfo.cgi/discuss-flossmanuals.net</a><br>
><br>
><br>
><br>
> --<br>
> Michael McAndrew<br>
> 07817 802299 (mobile)<br>
><br>
> Third Sector Design Ltd.<br>
> <a href="http://thirdsectordesign.org" target="_blank">http://thirdsectordesign.org</a><br>
><br>
> For support, email <a href="mailto:support@thirdsectordesign.org">support@thirdsectordesign.org</a><br>
> _______________________________________________<br>
> Discuss mailing list<br>
> <a href="mailto:Discuss@lists.flossmanuals.net">Discuss@lists.flossmanuals.net</a><br>
> <a href="http://lists.flossmanuals.net/listinfo.cgi/discuss-flossmanuals.net" target="_blank">http://lists.flossmanuals.net/listinfo.cgi/discuss-flossmanuals.net</a><br>
<br>
--<br>
<br>
<br>
<br>
<br>
<br>
Adam Hyde<br>
Founder FLOSS Manuals &<br>
Booki Project Manager<br>
<br>
Contact Information<br>
German mobile : + 49 177 4935122<br>
Email : <a href="mailto:adam@flossmanuals.net">adam@flossmanuals.net</a><br>
irc : <a href="http://irc.freenode.net" target="_blank">irc.freenode.net</a> #flossmanuals<br>
<br>
<br>
"Free manuals for free software"<br>
<a href="http://www.flossmanuals.net/about" target="_blank">http://www.flossmanuals.net/about</a><br>
<br>
Free Software for making Free Books<br>
<a href="http://www.booki.cc/" target="_blank">http://www.booki.cc/</a><br>
<br>
_______________________________________________<br>
Discuss mailing list<br>
<a href="mailto:Discuss@lists.flossmanuals.net">Discuss@lists.flossmanuals.net</a><br>
<a href="http://lists.flossmanuals.net/listinfo.cgi/discuss-flossmanuals.net" target="_blank">http://lists.flossmanuals.net/listinfo.cgi/discuss-flossmanuals.net</a><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br><font style="color: rgb(102, 102, 102);" size="1"><span style="color: rgb(51, 51, 51);"></span><span style="color: rgb(51, 51, 51);">Michael McAndrew</span><br style="color: rgb(51, 51, 51);">
<span style="color: rgb(51, 51, 51);">07817 802299 (mobile)</span><br style="color: rgb(51, 51, 51);"><br style="color: rgb(51, 51, 51);"><span style="color: rgb(51, 51, 51);">Third Sector Design Ltd.</span><br style="color: rgb(51, 51, 51);">
<a href="http://thirdsectordesign.org" target="_blank"><span style="color: rgb(51, 51, 51);">http://thirdsectordesign.org</span></a><br style="color: rgb(51, 51, 51);"><br style="color: rgb(51, 51, 51);"><span style="color: rgb(51, 51, 51);">For support, email <a href="mailto:support@thirdsectordesign.org" target="_blank">support@thirdsectordesign.org</a></span></font><br>