[FM Discuss] Bug with BookiPublisherLite

Michael McAndrew michaelmcandrew at thirdsectordesign.org
Fri Mar 2 07:30:55 PST 2012


Hey folks,

Trying to work out how to solve a bug with my BookiPublisherLite script:
https://github.com/michaelmcandrew/bookipublisherlite

I'm calling a URL to create a civicrm
book<http://objavi.booki.cc/?book=civicrm&server=booki.flossmanuals.net&mode=templated_html&html_template=%3Chtml%3E%0A%3Chead%3E%0A%09%20%20%3Ctitle%3E%3C%2Ftitle%3E%0A%09%3Clink%20rel%3D%22stylesheet%22%20type%3D%22text%2Fcss%22%20media%3D%22all%22%20href%3D%22%2Fstyle.css%22%20%2F%3E%0A%3C%2Fhead%3E%0A%3Cbody%3E%0A%3Clink%20href%3D%27%2Fstyle.css%27%20rel%3D%27stylesheet%27%20type%3D%27text%2Fcss%27%3E%0A%3Ciframe%20scrolling%3D%22no%22%20style%3D%22max-height%3A%2035px%3B%20border%3A%200px%3B%20width%3A%20100%25%3B%20display%3A%20block%3B%22%20src%3D%22http%3A%2F%2Fcivicrm.org%2Fsites%2Fcivicrm.org%2Fdevelopers%2Findex.html%22%3E%3C%2Fiframe%3E%0A%3Cdiv%20id%3D%27header%27%3E%3Ch1%3ECiviCRM%20user%20and%20administrator%20guide%3C%2Fh1%3E%3C%2Fdiv%3E%0A%3Cdiv%20id%3D%27menu%27%3E%0A%09%3Cp%20id%3D%27edition%27%3EFourth%20edition%20for%20v4.1%2C%20Aug%202011%3C%2Fp%3E%3Cmenu-goes-here%2F%3E%3C%2Fdiv%3E%0A%3Cdiv%20id%3D%27content%27%3E%0A%09%3Cdiv%20class%3D%27nav%27%3E%3C%2Fdiv%3E%0A%09%3Cdiv%20class%3D%27section-breadcrumb%27%3E%3C%2Fdiv%3E%0A%09%3Ccontent-goes-here%20%2F%3E%0A%09%3Cdiv%20class%3D%27nav%27%3E%3C%2Fdiv%3E%0A%3C%2Fdiv%3E%0A%3Cdiv%20id%3D%27footer%27%3E%0A%3Cp%3ECiviCRM%20user%20and%20administrator%20guide.%20Fourth%20edition%20for%20CiviCRM%204.1.%20Published%20Aug%202011%20under%20%3Ca%20href%3D%22http%3A%2F%2Fwww.gnu.org%2Flicenses%2Fgpl-2.0.html%22%3EGPLv2%2B%3C%2Fa%3E.%20View%20older%20editions%20of%20this%20book%20in%20the%20%3Ca%20href%3D%22%2Fuser%2Farchive%22%3Earchives%3C%2Fa%3E.%3C%2Fp%3E%0A%3Cp%3ECiviCRM%20documentation%20is%20community%20driven.%20You%20can%20%3Ca%20href%3D%22http%3A%2F%2Fcivicrm.org%2Fdocumentation%22%3Ehelp%20improve%20documentation%3C%2Fa%3E.%20This%20book%20is%20powered%20by%20%3Ca%20href%3D%22http%3A%2F%2Fwww.flossmanuals.org%2F%22%3EFlossmanuals%3C%2Fa%3E.%3C%2Fp%3E%0A%3C%2Fdiv%3E%0A%3C%2Fbody%3E%0A%3C%2Fhtml%3E>on
line 45.

It works when you call it in a browser.

It also works in my script for a small book like civicrm-developer-guide.
But is doesn't work for a big book like civicrm.

Looking at the page that gets created when I do call the URL, it seems to
end prematurely (see below).

      <p class="oncomplete">
>         <a href="
> http://objavi.booki.cc/books/civicrm-en-2012.03.02-14.58.51">Download the
> completed manual</a>
>       </p>
>
>     </div>
>
>     <script src="/static/jquery.js" type="text/javascript"></script>
>     <script src="/static/progress.js" type="text/javascript"></script>
>
> <!--
>     After this comes a series of update script tags, as the server
>     does stuff.
>     The script eventually adds </body></html> for good form.
> -->
>
>
> <script type="text/javascript">
> objavi_show_progress("start");
> </script>
>

Any tips on getting this working?

Cheers,
Michael



-- 
Michael McAndrew

tel: 020 7183 5828
mob: 07817 802299

Third Sector Design Ltd.
http://thirdsectordesign.org

*CiviCRM meet-ups, trainings, and code sprints coming up in London this
February! http://bit.ly/CiviCRM-Feb-London*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.flossmanuals.net/pipermail/discuss-flossmanuals.net/attachments/20120302/ff77fae2/attachment.htm>


More information about the Discuss mailing list