<div dir="ltr">Whoops, I found a couple bugs in the Remix export functionality. <br><br>When doing a remix from the FM site, it downloads the images for the activity *mostly* correct. There are two problems however:<br><br>
1.) I've had a few images that didn't download, the image in this chapter:<br><a href="http://en.flossmanuals.net/XO/AboutOLPC">http://en.flossmanuals.net/XO/AboutOLPC</a><br>isn't in my export. I haven't quite figured out if I'm missing more images or which images *aren't* downloaded correctly.<br>
<br>2.) The HTML (and this may be bjordan's parsing and not FM's export function) continues to link to the image stored on FM's site as on the site. So for instance my downloaded copy still pulled images from:<br>
<br><a href="http://en.flossmanuals.net/floss/publish/XO/rsrc/XO_for_kids/Feet_and_smile_1_1.jpg">http://en.flossmanuals.net/floss/publish/XO/rsrc/XO_for_kids/Feet_and_smile_1_1.jpg</a><br><br>which means that the exported version doesn't work unless I'm online.<br>
<br><br><br>In resolution to #2 a simple script can change those to local urls:<br><br><blockquote style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;" class="gmail_quote"><p>
#!/bin/bash</p><p> for file in *; do <br></p><p> mv $file $file.old <br></p><p> sed 's,<a class="ext-link" href="http://en.flossmanuals.net/floss/pub/,./,g"><span class="icon">http://en.flossmanuals.net/floss/pub/,./,g</span></a>' $file.old > $file <br>
</p><p> rm -f $file.old <br></p><p>done
</p></blockquote>
<blockquote>
</blockquote><br>As for #1, I'll just update the images I need by hand.<br><br>BTW, thank you mikus for finding bug #2 last night and reporting it promptly: <a href="http://dev.laptop.org/ticket/8558">http://dev.laptop.org/ticket/8558</a><br>
<br>--SWw<br><br></div>