<HTML dir=ltr><HEAD>
<META http-equiv=Content-Type content="text/html; charset=unicode">
<META content="MSHTML 6.00.2900.2523" name=GENERATOR></HEAD>
<BODY>
<DIV id=idOWAReplyText40380 dir=ltr>
<DIV dir=ltr><FONT face="Courier New" color=#000000 size=2>Dear all,</FONT></DIV></DIV>
<DIV dir=ltr>
<DIV><FONT face="Courier New" size=2></FONT>&nbsp;</DIV>
<DIV><FONT face="Courier New" size=2>This is a long thread but does capture highlight a new (to me!) application of PmWiki being able to aggregate multiple sites - this in essence is what I'm trying to do.&nbsp; Your advice, recommendations, comments very much welcome - even if it's to say DON'T DO IT!</FONT></DIV>
<DIV><FONT face="Courier New" size=2></FONT>&nbsp;</DIV>
<DIV><FONT face="Courier New" size=2>I'm still trying to integrate PmWiki and phpBB2 so&nbsp;users think its the same site.&nbsp; The site has a simple structure, header, sidebar, content and footer.&nbsp; The idea is to use PmWiki as the main site and switch out to phpBB2 when users click 'forum' in the sidebar.&nbsp; Sounds simple, but the things I've done so far (see below) are not working well and I'm looking for advice.</FONT></DIV>
<DIV><FONT face="Courier New" size=2></FONT>&nbsp;</DIV>
<DIV><FONT face="Courier New" size=2>The two OpenSource sites I'm trying to integrate are here:</FONT></DIV>
<DIV><FONT face="Courier New" size=2></FONT>&nbsp;</DIV>
<DIV><FONT face="Courier New" size=2><A href="http://www.enginuity.org/">http://www.enginuity.org/</A>&nbsp; - original site uses phpBB2</FONT></DIV>
<DIV><FONT face="Courier New" size=2></FONT>&nbsp;</DIV>
<DIV><FONT face="Courier New" size=2><A href="http://scoobypedia.co.uk/enginuity/index.php/Forums/Forums"><FONT face="Courier New" size=2>http://scoobypedia.co.uk/enginuity/index.php</FONT></A>&nbsp; - replacement site using PmWiki.&nbsp; Note this is only temporarily hosted on my site and will be moved back to enginuity when complete.</FONT></DIV>
<DIV><FONT face="Courier New" size=2></FONT>&nbsp;</DIV>
<DIV><FONT face="Courier New" size=2>I've tried using (:includeurl:) markup to embed a forum within a Wiki page.&nbsp; This looks quite good with a cut down 'style' for those familiar with phpBB2.&nbsp; See here:</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face="Courier New" size=2><FONT face="Courier New" size=2><A href="http://scoobypedia.co.uk/enginuity/index.php/Forums/Forums"><FONT face="Courier New" size=2><A href="http://scoobypedia.co.uk/enginuity/index.php/Forums/Forums">http://scoobypedia.co.uk/enginuity/index.php/Forums/Forums</FONT></A><FONT face="Courier New" size=2></FONT></A></FONT></FONT></DIV>
<DIV><FONT face="Courier New" size=2><FONT face="Courier New" size=2><FONT face="Courier New" size=2></FONT></FONT></FONT>&nbsp;</DIV>
<DIV><FONT face="Courier New" size=2>(:includeurl:)&nbsp;was the first thing I tried, looks the best so far but has two limitations; (1) forum size is variable so you can never get the right size of the embedded html - drawback using object/iframe created via includeurl.&nbsp; (2) I can't seem to pass a variable to includeurl as the website to load.&nbsp; I need this as people go straight to specific forum topics so I'd need to catch that (redirect), push them through the above Wiki page but pass the correct forum URL.&nbsp; This I just can not do as I'm not a php/PmWiki expert by a long shot.</FONT></DIV></DIV>
<DIV dir=ltr><FONT face="Courier New" size=2></FONT>&nbsp;</DIV>
<DIV dir=ltr><FONT face="Courier New" size=2>The other thing I've tried is to is o the other way - include the Wiki (sidebar only)&nbsp;within the phpBB2 forum.&nbsp; I thought I'd accept defeat and make the forum site 'look' like the Wiki site.&nbsp; I thought I would embed a cut down Wiki using just the sidebar only when viewing the forum as this will give the impression the two sites are the same.&nbsp; I produced a cut down PmWiki skin and configuration that only displayed a Wiki sidebar given a specific URL.&nbsp; I embedded it using iframe (yuk!)&nbsp;by adjusting the phpBB2 forum template/style.&nbsp; This looked good also but I forgot what an iframe did - as soon as I click on a Wiki sidebar item it goes to that page but within that frame - obviously I wanted it redisplay the whole web page and switch back out of the forum to the Wiki.</FONT></DIV>
<DIV dir=ltr><FONT face="Courier New" size=2></FONT>&nbsp;</DIV>
<DIV dir=ltr><FONT face="Courier New" size=2>I've spent a few days looking at the options and have exhausted my knowledge&nbsp; :-(&nbsp; I'm after any other ideas and/or approaches.&nbsp; I appreciate this is not strictly all about PmWiki here however do feel that the requirements (and eventual solution) here would be of benefit to many others trying to make PmWiki a choice for website(s) integration.</FONT></DIV>
<DIV dir=ltr><FONT face="Courier New" size=2></FONT>&nbsp;</DIV>
<DIV dir=ltr><FONT face="Courier New" size=2>This should be simple but can see that this might need to be done in php.&nbsp; Other avenues(read: rabbit holes) I'm going down is to see if I can produce a cut down PmWiki which offers an API (function) to phpBB2 which simply returns the html from&nbsp;PmWiki's sidebar.&nbsp; That way perhaps the phpBB2 forum software can be configured to display the sidebar in an additional table column - this time without frames.&nbsp; The unknown (for me) is if including parts of PmWiki php script(s) within phpBB2 will cause any conflict between the two software.&nbsp; I've seen PmWiki's 'MarkupToHTML' function and that is what I'll start looking at exploiting next.</FONT></DIV>
<DIV dir=ltr><FONT face="Courier New" size=2></FONT>&nbsp;</DIV>
<DIV dir=ltr><FONT face="Courier New" size=2>Your advice, recommendations, comments _very_ much welcome.</FONT></DIV>
<DIV dir=ltr><FONT face="Courier New" size=2>-Steve.</FONT></DIV></BODY></HTML>