[FM Discuss] getting iframe suitable pages from FLOSS Manuals

Tomi Toivio tomi at seravo.fi
Fri Dec 7 00:43:56 PST 2012


I got as far as getting it to embed the text of the HTML code of the manual
chapters without rendering it. I dont know if it makes sense to spend more
time on this since Finnish site uses a fork of an older Bookipublisher and
then you cant use it on the English site even if it works on the Finnish
one. This version of Bookipublisher stores manual chapters as txt files and
parses them with PHP, so there are no HTML files you could just put inside
an iframe.

torstai, 6. joulukuuta 2012 Mick - Floss Manuals <mick at flossmanuals.net>
kirjoitti:
> On 06/12/12 13:28, Tomi Toivio wrote:
>> Seems like Bookipublisher data/remix/embed.js is pointing at a wrong
address.
>>
>> Line 80 is like "elems += '<li style="'+topicStyle+'"><a
>> style="'+linkStyle+'" target="flossframe"
>> href="
http://localhost/bookipublisher/booki/'+page[0]+'/'+page[1]+'?skin='+_config[
"skin"]+'">'+page[2]+'</a>';"
>> so that "localhost" should be something like "en.flossmanuals.net".
>>
>> And the embed code that Remix offers has addresses for scripts that
>> are not going to work outside of FM domain:
>>
>> <script type="text/javascript"
src="_templates/jquery/js/jquery-1.6.1.min.js">
>> <script type="text/javascript" src="data/remix/embed.js">
>>
>> Probably doesn't make much sense to debug it on a mailing list? Maybe
>> I should try to fix this on the Finnish site.
> Sure thing, give it a go Tomi - that would be great.
>
> nice one
> Mick
> _______________________________________________
> Discuss mailing list
> Discuss at lists.flossmanuals.net
> http://lists.flossmanuals.net/listinfo.cgi/discuss-flossmanuals.net
>

-- 
Terveisin
Tomi Toivio
http://seravo.fi/
tomi at seravo.fi
+358453536625
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.flossmanuals.net/pipermail/discuss-flossmanuals.net/attachments/20121207/d2ba65c6/attachment.htm>


More information about the Discuss mailing list