SF.net SVN: fclient: [509] trunk/web
Status: Pre-Alpha
Brought to you by:
jurner
|
From: <jU...@us...> - 2008-07-06 05:18:15
|
Revision: 509
http://fclient.svn.sourceforge.net/fclient/?rev=509&view=rev
Author: jUrner
Date: 2008-07-05 22:18:23 -0700 (Sat, 05 Jul 2008)
Log Message:
-----------
this and that
Modified Paths:
--------------
trunk/web/download-fclient.html
trunk/web/download-fcp2.html
trunk/web/index.html
trunk/web/intro.html
trunk/web/more-fclient.html
trunk/web/more-fcp2.html
trunk/web/screenshots-fclient.html
trunk/web/screenshots-fcp2.html
Modified: trunk/web/download-fclient.html
===================================================================
--- trunk/web/download-fclient.html 2008-07-05 21:29:41 UTC (rev 508)
+++ trunk/web/download-fclient.html 2008-07-06 05:18:23 UTC (rev 509)
@@ -13,7 +13,7 @@
<div class="topic">
<br>
<br>
- Nothing to see here, move along
+ Not Yet
</div>
Modified: trunk/web/download-fcp2.html
===================================================================
--- trunk/web/download-fcp2.html 2008-07-05 21:29:41 UTC (rev 508)
+++ trunk/web/download-fcp2.html 2008-07-06 05:18:23 UTC (rev 509)
@@ -12,7 +12,7 @@
<div class="topic">
<br>
<br>
- Nothing to see here, move along
+ Not yet
</div>
<div class="bottom_padding"></div>
Modified: trunk/web/index.html
===================================================================
--- trunk/web/index.html 2008-07-05 21:29:41 UTC (rev 508)
+++ trunk/web/index.html 2008-07-06 05:18:23 UTC (rev 509)
@@ -39,14 +39,17 @@
<tr>
<td class="frame" width="100%" valign="bottom">
- [<a href="http://www.freenetproject.org">Freenet</a>]
- <!-- [<a href="http://epydoc.sourceforge.net/">Epydoc</a>] -->
+ Links:
+ [<a href="http://sourceforge.net/projects/fclient">fclient sourceforge</a>]
+ [<a href="http://www.freenetproject.org">freenet</a>]
+
+
</td>
<td class="frame" valign="bottom">
- <a href="http://sourceforge.net/donate/index.php?group_id=206970"><img src="http://images.sourceforge.net/images/project-support.jpg" width="88" height="32" border="0" alt="Support This Project" /> </a>
+ <a href="http://sourceforge.net/donate/index.php?group_id=206970"><img src="http://images.sourceforge.net/images/project-support.jpg" width="88" height="32" border="0" alt="Support This Project"> </a>
</td>
<td class="frame" valign="bottom">
- <a href="http://sourceforge.net"><img src="http://sflogo.sourceforge.net/sflogo.php?group_id=206970&type=4" width="125" height="37" border="0" alt="SourceForge.net Logo" /></a>
+ <a href="http://sourceforge.net"><img src="http://sflogo.sourceforge.net/sflogo.php?group_id=206970&type=4" width="125" height="37" border="0" alt="SourceForge.net Logo"></a>
</td>
</tr>
Modified: trunk/web/intro.html
===================================================================
--- trunk/web/intro.html 2008-07-05 21:29:41 UTC (rev 508)
+++ trunk/web/intro.html 2008-07-06 05:18:23 UTC (rev 509)
@@ -9,19 +9,19 @@
<div class="topic">
- <b>fclient:</b> Gui frontend for freenet written in Qt and python. The Gui is yet to come.
+ <b>fclient:</b> Gui frontend for freenet written in python and Qt. Not yet
<br>
- [<a href="more-fclient.html" target="mainFrame">..More</a>] [<a href="download-fclient.html" target="mainFrame">Download</a>] [<a href="screenshots-fclient.html" target="mainFrame">Screenshots</a>]
+ [<a href="more-fclient.html" target="mainFrame">..more</a>] [<a href="download-fclient.html" target="mainFrame">download</a>] [<a href="screenshots-fclient.html" target="mainFrame">screenshots</a>]
<hr>
</div>
<div class="topic">
- <b>fcp2:</b> high level wrapper for the freenet client protocol version-2 written in python. Automatic
+ <b>fcp2:</b> high level wrapper for the freenet client protocol version 2 written in python. Automatic
conversions from Fcp to python types, access to node and peer configurations and much more.
<br>
- [<a href="more-fcp2.html" target="mainFrame">..More</a>] [<a href="download-fcp2.html" target="mainFrame">Download</a>] [<a href="screenshots-fcp2.html" target="mainFrame">Screenshots</a>]
+ [<a href="more-fcp2.html" target="mainFrame">..more</a>] [<a href="download-fcp2.html" target="mainFrame">download</a>] [<a href="screenshots-fcp2.html" target="mainFrame">screenshots</a>]
</div>
Modified: trunk/web/more-fclient.html
===================================================================
--- trunk/web/more-fclient.html 2008-07-05 21:29:41 UTC (rev 508)
+++ trunk/web/more-fclient.html 2008-07-06 05:18:23 UTC (rev 509)
@@ -12,7 +12,7 @@
<div class="topic">
<br>
<br>
- Nothing to see here, move along
+ Not yet
</div>
Modified: trunk/web/more-fcp2.html
===================================================================
--- trunk/web/more-fcp2.html 2008-07-05 21:29:41 UTC (rev 508)
+++ trunk/web/more-fcp2.html 2008-07-06 05:18:23 UTC (rev 509)
@@ -21,9 +21,9 @@
Connect to the freenet node
-<pre class="py_code"><span class="py_keyword">from</span> fcp2 <span class="py_keyword">import</span> Client
+<pre class="py_code"><span class="py_keyword">import</span> fcp2
-client <span class="py_operator">=</span> Client()
+client <span class="py_operator">=</span> fcp2.Client()
nodeHello <span class="py_operator">=</span> client.connect()
<span class="py_keyword">if</span> nodeHello <span class="py_keyword">is</span> <span class="py_bool">None</span>:
<span class="py_keyword">pass</span>
@@ -34,7 +34,8 @@
</pre>
Request data associated to a freenet key
-<pre class="py_code">myRequestIdentifier <span class="py_operator">=</span> client.getData(<span class="py_string2">'CHK@ABCDE.......'</span>)
+<pre class="py_code">myKey <span class="py_operator">=</span> fcp2.Key(<span class="py_string2">'CHK@ABCDE.......'</span>)
+myRequestIdentifier <span class="py_operator">=</span> client.getData(key)
myRequest <span class="py_operator">=</span> client.getRequest(myIdentifier)
client.run()
<span class="py_keyword">print</span> myRequest.data
@@ -51,17 +52,19 @@
client.events.RequestCompleted <span class="py_operator">+</span><span class="py_operator">=</span> handleSuccess
client.events.RequestFailed <span class="py_operator">+</span><span class="py_operator">=</span> handleFailure
-client.getData(<span class="py_string2">'CHK@ABCDE.......'</span>)
+myKey <span class="py_operator">=</span> fcp2.Key(<span class="py_string2">'CHK@ABCDE.......'</span>)
+client.getData(myKey)
client.run()
</pre>
Instead of calling run() you may run the client step by step
-<pre class="py_code">client.getData(<span class="py_string2">'CHK@ABCDE.......'</span>)
+<pre class="py_code">myKey <span class="py_operator">=</span> fcp2.Key(<span class="py_string2">'CHK@ABCDE.......'</span>)
+client.getData(<span class="py_string2">'CHK@ABCDE.......'</span>)
<span class="py_keyword">for</span> i <span class="py_keyword">in</span> xrange(50):
client.next()
</pre>
-You may disconnect event handlers aswel
+You may disconnect event handlers as well
<pre class="py_code">client.events.RequestCompleted <span class="py_operator">-</span><span class="py_operator">=</span> handleSuccess
client.events.RequestFailed <span class="py_operator">-</span><span class="py_operator">=</span> handleFailure
</pre>
Modified: trunk/web/screenshots-fclient.html
===================================================================
--- trunk/web/screenshots-fclient.html 2008-07-05 21:29:41 UTC (rev 508)
+++ trunk/web/screenshots-fclient.html 2008-07-06 05:18:23 UTC (rev 509)
@@ -11,7 +11,7 @@
<br>
<br>
- Nothing to see here, move along
+ Not yet
<div class="bottom_padding"></div>
Modified: trunk/web/screenshots-fcp2.html
===================================================================
--- trunk/web/screenshots-fcp2.html 2008-07-05 21:29:41 UTC (rev 508)
+++ trunk/web/screenshots-fcp2.html 2008-07-06 05:18:23 UTC (rev 509)
@@ -12,7 +12,7 @@
<div class="topic">
<br>
<br>
- Nothing to see here, move along
+ Not yet
</div>
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|