bitweaver
Wiki
wiki Home
List Pages
wiki Books
Orphan Pages
wiki Rankings
Photos
List Galleries
Forums
Browse forums
Files
List Galleries
Categories
List Categories
Sign In
Message Boards
»
11. Development - Architecture and feature requests
Newest
Oldest
Threaded
5
10
20
50
100
All
Messages
Freemind (mindmap)
Post Reply
Southpaw
Joined: 10 Nov 2004
Freemind (mindmap)
Posted:07 Dec 2004 (18:35 UTC)
EzyBiz
Joined: 01 Nov 2004
Posted:07 Dec 2004 (23:09 UTC)
Southpaw
Joined: 10 Nov 2004
Posted:08 Dec 2004 (01:15 UTC)
spiderr
Joined: 08 Feb 2004
Re: Freemind (mindmap)
Posted:10 Dec 2004 (13:20 UTC)
Southpaw
Joined: 10 Nov 2004
Posted:10 Dec 2004 (19:11 UTC)
Anonymous
Differance
Posted:14 Nov 2005 (01:53 UTC)
Post Reply
Page 1 of 1
1
Post
Title
Login
If you are already registered, please enter your login credentials.
Your Name
Anonymous Post
Content Format
Tiki Wiki Syntax
Allow HTML
{quote format_guid="bbcode" comment_id="7229" user="Southpaw"}Thanks spider :) here's more or less the final code [code:1:189b4c5e0c] //MindMap Mod (Freemind: http://freemind.sf.net) preg_match_all("/\{mm ([^\}]+)}/i", $data, $pages); foreach (array_unique($pages[1])as $page_parse) { $parts = explode(" ", $page_parse); $mmdata = array(); $mmdata["src"] = ''; /* Remove for now $mmdata["height"] = ''; $mmdata["width"] = ''; */ foreach ($parts as $part) { $part = str_replace('}', '', $part); $part = str_replace('{', '', $part); $part = str_replace('\'', '', $part); $part = str_replace('"', '', $part); if (strstr($part, '=')) { $subs = explode("=", $part, 2); $mmdata[$subs[0]] = $subs[1]; } } $repl = '<script language="JavaScript">'. '<!--'. ' if(!navigator.javaEnabled()) {'. ' document.write(\'Please install a <a href="http://www.java.com/">Java Runtime Environment</a> on your computer.\');'. ' }'. '//-->'. '</script>'. '<applet code="freemind.main.FreeMindApplet.class" archive="../mindmap/freemindbrowser.jar" width="100%" height="600">'. //Add the if ($mmdata["width"]) stuff here later ' <param name="type" value="application/x-java-applet;version=1.4" >'. ' <param name="scriptable" value="false" >'. ' <param name="modes" value="freemind.modes.browsemode.BrowseMode" >'. ' <param name="browsemode_initial_map" value="' . $mmdata["src"] . '" >'. ' <param name="initial_mode" value="Browse" >'. '</applet>'. '<br>'. '<span class="">Download <a href="' . $mmdata["src"] . '">this mind map</a> and use this application to edit it: <a href="http://freemind.sourceforge.net/">Freemind </a> </span>'; $data = str_replace($page_parse, $repl, $data); } //Man this took far too long to figure out -_-" hehe //End MindMap [/code:1:189b4c5e0c]{/quote}
Recent Page Changes
welcome to bitweaver.org
Bitweaver Overview
ReleaseTwo Schema Changelog 2006
PressReleaseOne
Spider's Web
Press Release Two
BitcommercePackage
InfiniBand vs Ethernet Performance
InfiniBand for Dummies
Show More…