Added ability to post to post via the Blogger API.
This commit is contained in:
parent
4b7ea52793
commit
38544a1b56
11 changed files with 282 additions and 450 deletions
262
LifeBlogger.iws
262
LifeBlogger.iws
|
@ -112,63 +112,74 @@
|
|||
<option name="HIDE_WARNINGS" value="false" />
|
||||
</component>
|
||||
<component name="FileEditorManager" split-orientation="vertical" split-proportion="0.5">
|
||||
<first-group selected-file="file://$PROJECT_DIR$/build.xml">
|
||||
<entry file="file://$PROJECT_DIR$/src/net/thauvin/lifeblogger/LifeFTP.java" pinned="false">
|
||||
<first-group selected-file="file://$PROJECT_DIR$/src/net/thauvin/lifeblogger/LifeBlog.java">
|
||||
<entry file="file://$PROJECT_DIR$/src/net/thauvin/lifeblogger/post.xml" pinned="false">
|
||||
<provider selected="true" editor-type-id="text-editor">
|
||||
<state line="85" column="26" selection-start="2912" selection-end="2912" vertical-scroll-proportion="1.787037">
|
||||
<folding>
|
||||
<element signature="imports" expanded="true" />
|
||||
</folding>
|
||||
</state>
|
||||
</provider>
|
||||
</entry>
|
||||
<entry file="file://$PROJECT_DIR$/src/net/thauvin/lifeblogger/LifeBlogger.java" pinned="false">
|
||||
<provider selected="true" editor-type-id="text-editor">
|
||||
<state line="503" column="27" selection-start="12296" selection-end="12296" vertical-scroll-proportion="0.58641976">
|
||||
<folding>
|
||||
<element signature="imports" expanded="true" />
|
||||
</folding>
|
||||
</state>
|
||||
</provider>
|
||||
</entry>
|
||||
<entry file="file://$PROJECT_DIR$/src/net/thauvin/lifeblogger/about.xml" pinned="false">
|
||||
<provider selected="true" editor-type-id="text-editor">
|
||||
<state line="1" column="38" selection-start="77" selection-end="77" vertical-scroll-proportion="0.052469134">
|
||||
<folding />
|
||||
</state>
|
||||
</provider>
|
||||
</entry>
|
||||
<entry file="file://$PROJECT_DIR$/src/net/thauvin/lifeblogger/alert.xml" pinned="false">
|
||||
<provider selected="true" editor-type-id="text-editor">
|
||||
<state line="0" column="0" selection-start="0" selection-end="0" vertical-scroll-proportion="0.0">
|
||||
<folding />
|
||||
</state>
|
||||
</provider>
|
||||
</entry>
|
||||
<entry file="file://$PROJECT_DIR$/src/net/thauvin/lifeblogger/preview.xml" pinned="false">
|
||||
<provider selected="true" editor-type-id="text-editor">
|
||||
<state line="1" column="40" selection-start="79" selection-end="79" vertical-scroll-proportion="0.052469134">
|
||||
<folding />
|
||||
</state>
|
||||
</provider>
|
||||
</entry>
|
||||
<entry file="file://$PROJECT_DIR$/build.xml" pinned="false">
|
||||
<provider selected="true" editor-type-id="text-editor">
|
||||
<state line="29" column="123" selection-start="1270" selection-end="1270" vertical-scroll-proportion="0.5123457">
|
||||
<folding />
|
||||
</state>
|
||||
</provider>
|
||||
</entry>
|
||||
<entry file="file://$PROJECT_DIR$/src/net/thauvin/lifeblogger/main.xml" pinned="false">
|
||||
<provider selected="true" editor-type-id="text-editor">
|
||||
<state line="16" column="154" selection-start="844" selection-end="844" vertical-scroll-proportion="0.83950615">
|
||||
<state line="7" column="75" selection-start="534" selection-end="534" vertical-scroll-proportion="0.21834862">
|
||||
<folding />
|
||||
</state>
|
||||
</provider>
|
||||
</entry>
|
||||
<entry file="file://$PROJECT_DIR$/src/net/thauvin/lifeblogger/LifeBlog.java" pinned="false">
|
||||
<provider selected="true" editor-type-id="text-editor">
|
||||
<state line="54" column="22" selection-start="2096" selection-end="2096" vertical-scroll-proportion="0.99691355">
|
||||
<state line="52" column="22" selection-start="2083" selection-end="2083" vertical-scroll-proportion="0.5302752">
|
||||
<folding>
|
||||
<element signature="imports" expanded="true" />
|
||||
</folding>
|
||||
</state>
|
||||
</provider>
|
||||
</entry>
|
||||
<entry file="file://$PROJECT_DIR$/src/net/thauvin/lifeblogger/LifeAction.java" pinned="false">
|
||||
<provider selected="true" editor-type-id="text-editor">
|
||||
<state line="50" column="11" selection-start="759" selection-end="759" vertical-scroll-proportion="1.0623853">
|
||||
<folding>
|
||||
<element signature="imports" expanded="true" />
|
||||
</folding>
|
||||
</state>
|
||||
</provider>
|
||||
</entry>
|
||||
<entry file="file://$PROJECT_DIR$/src/net/thauvin/lifeblogger/LifeMediaObject.java" pinned="false">
|
||||
<provider selected="true" editor-type-id="text-editor">
|
||||
<state line="45" column="115" selection-start="1916" selection-end="1916" vertical-scroll-proportion="0.24770643">
|
||||
<folding>
|
||||
<element signature="imports" expanded="true" />
|
||||
</folding>
|
||||
</state>
|
||||
</provider>
|
||||
</entry>
|
||||
<entry file="file://$PROJECT_DIR$/src/net/thauvin/lifeblogger/LifePost.java" pinned="false">
|
||||
<provider selected="true" editor-type-id="text-editor">
|
||||
<state line="46" column="106" selection-start="1950" selection-end="1950" vertical-scroll-proportion="0.097247705">
|
||||
<folding />
|
||||
</state>
|
||||
</provider>
|
||||
</entry>
|
||||
<entry file="file://$PROJECT_DIR$/src/net/thauvin/lifeblogger/LifeRPCResponse.java" pinned="false">
|
||||
<provider selected="true" editor-type-id="text-editor">
|
||||
<state line="60" column="11" selection-start="2171" selection-end="2171" vertical-scroll-proportion="0.1412844">
|
||||
<folding>
|
||||
<element signature="imports" expanded="true" />
|
||||
</folding>
|
||||
</state>
|
||||
</provider>
|
||||
</entry>
|
||||
<entry file="file://$PROJECT_DIR$/src/net/thauvin/lifeblogger/LifeFTP.java" pinned="false">
|
||||
<provider selected="true" editor-type-id="text-editor">
|
||||
<state line="132" column="71" selection-start="3917" selection-end="3917" vertical-scroll-proportion="0.76330274">
|
||||
<folding />
|
||||
</state>
|
||||
</provider>
|
||||
</entry>
|
||||
<entry file="file://$PROJECT_DIR$/src/net/thauvin/lifeblogger/main.xml" pinned="false">
|
||||
<provider selected="true" editor-type-id="text-editor">
|
||||
<state line="8" column="60" selection-start="410" selection-end="410" vertical-scroll-proportion="0.24954128">
|
||||
<folding />
|
||||
</state>
|
||||
</provider>
|
||||
</entry>
|
||||
<entry file="file://$PROJECT_DIR$/src/net/thauvin/lifeblogger/LifeBlogger.java" pinned="false">
|
||||
<provider selected="true" editor-type-id="text-editor">
|
||||
<state line="320" column="5" selection-start="7758" selection-end="7758" vertical-scroll-proportion="1.0201834">
|
||||
<folding>
|
||||
<element signature="imports" expanded="true" />
|
||||
</folding>
|
||||
|
@ -177,20 +188,11 @@
|
|||
</entry>
|
||||
<entry file="file://$PROJECT_DIR$/src/net/thauvin/lifeblogger/ReleaseInfo.java" pinned="false">
|
||||
<provider selected="true" editor-type-id="text-editor">
|
||||
<state line="28" column="53" selection-start="796" selection-end="796" vertical-scroll-proportion="0.58112097">
|
||||
<state line="15" column="23" selection-start="413" selection-end="413" vertical-scroll-proportion="0.14495413">
|
||||
<folding />
|
||||
</state>
|
||||
</provider>
|
||||
</entry>
|
||||
<entry file="file://$PROJECT_DIR$/src/net/thauvin/lifeblogger/LifeMediaObjResponse.java" pinned="false">
|
||||
<provider selected="true" editor-type-id="text-editor">
|
||||
<state line="146" column="75" selection-start="4148" selection-end="4148" vertical-scroll-proportion="1.7160494">
|
||||
<folding>
|
||||
<element signature="imports" expanded="true" />
|
||||
</folding>
|
||||
</state>
|
||||
</provider>
|
||||
</entry>
|
||||
</first-group>
|
||||
<second-group />
|
||||
</component>
|
||||
|
@ -207,14 +209,14 @@
|
|||
<component name="J2EEProjectPane" />
|
||||
<component name="NamedScopeManager" />
|
||||
<component name="PackagesPane">
|
||||
<expanded_node url="net" module="LifeBlogger" type="package" />
|
||||
<expanded_node url="net.thauvin.lifeblogger" module="LifeBlogger" type="package" />
|
||||
<expanded_node url="" module="LifeBlogger" type="module" />
|
||||
<expanded_node url="net.thauvin" module="LifeBlogger" type="package" />
|
||||
<expanded_node url="net.thauvin.lifeblogger" module="LifeBlogger" type="package" />
|
||||
<expanded_node url="net" module="LifeBlogger" type="package" />
|
||||
<expanded_node url="" module="LifeBlogger" type="module" />
|
||||
</component>
|
||||
<component name="ProjectPane">
|
||||
<expanded_node url="" module="LifeBlogger" type="module" />
|
||||
<expanded_node url="file://$PROJECT_DIR$" module="LifeBlogger" type="directory" />
|
||||
<expanded_node url="" module="LifeBlogger" type="module" />
|
||||
</component>
|
||||
<component name="ProjectView">
|
||||
<navigator currentView="ProjectPane" splitterProportion="0.5">
|
||||
|
@ -355,20 +357,20 @@
|
|||
</todo-panel>
|
||||
</component>
|
||||
<component name="ToolWindowManager">
|
||||
<frame x="-2" y="-3" width="1032" height="776" extended-state="0" />
|
||||
<frame x="-4" y="-4" width="1032" height="776" extended-state="6" />
|
||||
<editor active="false" />
|
||||
<layout>
|
||||
<window_info id="Properties File Structure" active="false" anchor="right" auto_hide="false" internal_type="docked" type="docked" visible="false" weight="0.16428572" order="4" />
|
||||
<window_info id="CVS" active="false" anchor="bottom" auto_hide="false" internal_type="docked" type="docked" visible="false" weight="0.33024693" order="8" />
|
||||
<window_info id="Regex" active="false" anchor="bottom" auto_hide="false" internal_type="docked" type="docked" visible="false" weight="0.33024693" order="9" />
|
||||
<window_info id="TODO" active="false" anchor="bottom" auto_hide="false" internal_type="docked" type="docked" visible="false" weight="0.33" order="7" />
|
||||
<window_info id="Project" active="false" anchor="left" auto_hide="false" internal_type="docked" type="docked" visible="true" weight="0.20306122" order="0" />
|
||||
<window_info id="Project" active="true" anchor="left" auto_hide="false" internal_type="docked" type="docked" visible="true" weight="0.21632653" order="0" />
|
||||
<window_info id="Find" active="false" anchor="bottom" auto_hide="false" internal_type="docked" type="docked" visible="false" weight="0.33024693" order="1" />
|
||||
<window_info id="Structure" active="false" anchor="left" auto_hide="false" internal_type="docked" type="docked" visible="false" weight="0.25" order="1" />
|
||||
<window_info id="Messages" active="true" anchor="bottom" auto_hide="false" internal_type="docked" type="docked" visible="true" weight="0.33024693" order="10" />
|
||||
<window_info id="Inspection" active="false" anchor="bottom" auto_hide="false" internal_type="docked" type="docked" visible="false" weight="0.39969134" order="6" x="66" y="104" width="924" height="583" />
|
||||
<window_info id="Messages" active="false" anchor="bottom" auto_hide="false" internal_type="docked" type="docked" visible="false" weight="0.33024693" order="10" />
|
||||
<window_info id="Inspection" active="false" anchor="bottom" auto_hide="false" internal_type="docked" type="docked" visible="false" weight="0.69135803" order="6" x="66" y="104" width="924" height="583" />
|
||||
<window_info id="Dependency Viewer" active="false" anchor="bottom" auto_hide="false" internal_type="docked" type="docked" visible="false" weight="0.33" order="11" />
|
||||
<window_info id="Ant Build" active="false" anchor="right" auto_hide="false" internal_type="docked" type="docked" visible="true" weight="0.13163266" order="1" />
|
||||
<window_info id="Ant Build" active="false" anchor="right" auto_hide="false" internal_type="docked" type="docked" visible="true" weight="0.12040816" order="1" />
|
||||
<window_info id="Run" active="false" anchor="bottom" auto_hide="false" internal_type="docked" type="docked" visible="false" weight="0.33796296" order="2" />
|
||||
<window_info id="Hierarchy" active="false" anchor="right" auto_hide="false" internal_type="docked" type="docked" visible="false" weight="0.25" order="2" />
|
||||
<window_info id="CVS File View" active="false" anchor="right" auto_hide="false" internal_type="docked" type="docked" visible="false" weight="0.33" order="3" />
|
||||
|
@ -477,37 +479,85 @@
|
|||
</buildFile>
|
||||
</component>
|
||||
<component name="editorHistoryManager">
|
||||
<entry file="file://$PROJECT_DIR$/build.xml">
|
||||
<provider selected="true" editor-type-id="text-editor">
|
||||
<state line="33" column="22" selection-start="1441" selection-end="1441" vertical-scroll-proportion="1.7586207">
|
||||
<folding />
|
||||
</state>
|
||||
</provider>
|
||||
</entry>
|
||||
<entry file="file://$PROJECT_DIR$/src/net/thauvin/lifeblogger/metaweblog.xml">
|
||||
<provider selected="true" editor-type-id="text-editor">
|
||||
<state line="4" column="21" selection-start="308" selection-end="308" vertical-scroll-proportion="0.19596542">
|
||||
<state line="4" column="25" selection-start="334" selection-end="334" vertical-scroll-proportion="0.12477064">
|
||||
<folding />
|
||||
</state>
|
||||
</provider>
|
||||
</entry>
|
||||
<entry file="file://$PROJECT_DIR$/src/net/thauvin/lifeblogger/Base64.java">
|
||||
<entry file="file://$PROJECT_DIR$/src/net/thauvin/lifeblogger/exception.xml">
|
||||
<provider selected="true" editor-type-id="text-editor">
|
||||
<state line="2" column="0" selection-start="34" selection-end="34" vertical-scroll-proportion="0.11258278">
|
||||
<state line="4" column="106" selection-start="185" selection-end="280" vertical-scroll-proportion="0.11663808">
|
||||
<folding />
|
||||
</state>
|
||||
</provider>
|
||||
</entry>
|
||||
<entry file="file://$PROJECT_DIR$/webstart.xml">
|
||||
<entry file="file://$PROJECT_DIR$/src/net/thauvin/lifeblogger/transfer.xml">
|
||||
<provider selected="true" editor-type-id="text-editor">
|
||||
<state line="7" column="107" selection-start="270" selection-end="270" vertical-scroll-proportion="0.20411664">
|
||||
<state line="0" column="0" selection-start="0" selection-end="0" vertical-scroll-proportion="0.0">
|
||||
<folding />
|
||||
</state>
|
||||
</provider>
|
||||
</entry>
|
||||
<entry file="jar://C:/j2sdk1.4.2_05/src.zip!/java/sql/ResultSet.java">
|
||||
<entry file="file://$PROJECT_DIR$/src/net/thauvin/lifeblogger/ftp.xml">
|
||||
<provider selected="true" editor-type-id="text-editor">
|
||||
<state line="437" column="11" selection-start="19743" selection-end="19743" vertical-scroll-proportion="9.399657">
|
||||
<state line="11" column="88" selection-start="728" selection-end="728" vertical-scroll-proportion="0.34311926">
|
||||
<folding />
|
||||
</state>
|
||||
</provider>
|
||||
</entry>
|
||||
<entry file="file://$PROJECT_DIR$/src/net/thauvin/lifeblogger/post.xml">
|
||||
<provider selected="true" editor-type-id="text-editor">
|
||||
<state line="7" column="75" selection-start="534" selection-end="534" vertical-scroll-proportion="0.21834862">
|
||||
<folding />
|
||||
</state>
|
||||
</provider>
|
||||
</entry>
|
||||
<entry file="file://$PROJECT_DIR$/src/net/thauvin/lifeblogger/LifeBlog.java">
|
||||
<provider selected="true" editor-type-id="text-editor">
|
||||
<state line="52" column="22" selection-start="2083" selection-end="2083" vertical-scroll-proportion="0.5302752">
|
||||
<folding>
|
||||
<element signature="imports" expanded="true" />
|
||||
</folding>
|
||||
</state>
|
||||
</provider>
|
||||
</entry>
|
||||
<entry file="file://$PROJECT_DIR$/src/net/thauvin/lifeblogger/LifeAction.java">
|
||||
<provider selected="true" editor-type-id="text-editor">
|
||||
<state line="50" column="11" selection-start="759" selection-end="759" vertical-scroll-proportion="1.0623853">
|
||||
<folding>
|
||||
<element signature="imports" expanded="true" />
|
||||
</folding>
|
||||
</state>
|
||||
</provider>
|
||||
</entry>
|
||||
<entry file="file://$PROJECT_DIR$/src/net/thauvin/lifeblogger/LifeMediaObject.java">
|
||||
<provider selected="true" editor-type-id="text-editor">
|
||||
<state line="116" column="25" selection-start="3769" selection-end="3769" vertical-scroll-proportion="0.34862384">
|
||||
<state line="45" column="115" selection-start="1916" selection-end="1916" vertical-scroll-proportion="0.24770643">
|
||||
<folding>
|
||||
<element signature="imports" expanded="true" />
|
||||
</folding>
|
||||
</state>
|
||||
</provider>
|
||||
</entry>
|
||||
<entry file="file://$PROJECT_DIR$/src/net/thauvin/lifeblogger/LifePost.java">
|
||||
<provider selected="true" editor-type-id="text-editor">
|
||||
<state line="46" column="106" selection-start="1950" selection-end="1950" vertical-scroll-proportion="0.097247705">
|
||||
<folding />
|
||||
</state>
|
||||
</provider>
|
||||
</entry>
|
||||
<entry file="file://$PROJECT_DIR$/src/net/thauvin/lifeblogger/LifeRPCResponse.java">
|
||||
<provider selected="true" editor-type-id="text-editor">
|
||||
<state line="60" column="11" selection-start="2171" selection-end="2171" vertical-scroll-proportion="0.1412844">
|
||||
<folding>
|
||||
<element signature="imports" expanded="true" />
|
||||
</folding>
|
||||
|
@ -516,53 +566,21 @@
|
|||
</entry>
|
||||
<entry file="file://$PROJECT_DIR$/src/net/thauvin/lifeblogger/LifeFTP.java">
|
||||
<provider selected="true" editor-type-id="text-editor">
|
||||
<state line="85" column="26" selection-start="2912" selection-end="2912" vertical-scroll-proportion="1.787037">
|
||||
<folding>
|
||||
<element signature="imports" expanded="true" />
|
||||
</folding>
|
||||
</state>
|
||||
</provider>
|
||||
</entry>
|
||||
<entry file="file://$PROJECT_DIR$/src/net/thauvin/lifeblogger/LifeBlogger.java">
|
||||
<provider selected="true" editor-type-id="text-editor">
|
||||
<state line="503" column="27" selection-start="12296" selection-end="12296" vertical-scroll-proportion="0.58641976">
|
||||
<folding>
|
||||
<element signature="imports" expanded="true" />
|
||||
</folding>
|
||||
</state>
|
||||
</provider>
|
||||
</entry>
|
||||
<entry file="file://$PROJECT_DIR$/src/net/thauvin/lifeblogger/alert.xml">
|
||||
<provider selected="true" editor-type-id="text-editor">
|
||||
<state line="0" column="0" selection-start="0" selection-end="0" vertical-scroll-proportion="0.0">
|
||||
<folding />
|
||||
</state>
|
||||
</provider>
|
||||
</entry>
|
||||
<entry file="file://$PROJECT_DIR$/src/net/thauvin/lifeblogger/about.xml">
|
||||
<provider selected="true" editor-type-id="text-editor">
|
||||
<state line="1" column="38" selection-start="77" selection-end="77" vertical-scroll-proportion="0.052469134">
|
||||
<folding />
|
||||
</state>
|
||||
</provider>
|
||||
</entry>
|
||||
<entry file="file://$PROJECT_DIR$/src/net/thauvin/lifeblogger/preview.xml">
|
||||
<provider selected="true" editor-type-id="text-editor">
|
||||
<state line="1" column="40" selection-start="79" selection-end="79" vertical-scroll-proportion="0.052469134">
|
||||
<state line="132" column="71" selection-start="3917" selection-end="3917" vertical-scroll-proportion="0.76330274">
|
||||
<folding />
|
||||
</state>
|
||||
</provider>
|
||||
</entry>
|
||||
<entry file="file://$PROJECT_DIR$/src/net/thauvin/lifeblogger/main.xml">
|
||||
<provider selected="true" editor-type-id="text-editor">
|
||||
<state line="16" column="154" selection-start="844" selection-end="844" vertical-scroll-proportion="0.83950615">
|
||||
<state line="8" column="60" selection-start="410" selection-end="410" vertical-scroll-proportion="0.24954128">
|
||||
<folding />
|
||||
</state>
|
||||
</provider>
|
||||
</entry>
|
||||
<entry file="file://$PROJECT_DIR$/src/net/thauvin/lifeblogger/LifeBlog.java">
|
||||
<entry file="file://$PROJECT_DIR$/src/net/thauvin/lifeblogger/LifeBlogger.java">
|
||||
<provider selected="true" editor-type-id="text-editor">
|
||||
<state line="54" column="22" selection-start="2096" selection-end="2096" vertical-scroll-proportion="0.99691355">
|
||||
<state line="320" column="5" selection-start="7758" selection-end="7758" vertical-scroll-proportion="1.0201834">
|
||||
<folding>
|
||||
<element signature="imports" expanded="true" />
|
||||
</folding>
|
||||
|
@ -571,23 +589,7 @@
|
|||
</entry>
|
||||
<entry file="file://$PROJECT_DIR$/src/net/thauvin/lifeblogger/ReleaseInfo.java">
|
||||
<provider selected="true" editor-type-id="text-editor">
|
||||
<state line="28" column="53" selection-start="796" selection-end="796" vertical-scroll-proportion="0.58112097">
|
||||
<folding />
|
||||
</state>
|
||||
</provider>
|
||||
</entry>
|
||||
<entry file="file://$PROJECT_DIR$/src/net/thauvin/lifeblogger/LifeMediaObjResponse.java">
|
||||
<provider selected="true" editor-type-id="text-editor">
|
||||
<state line="146" column="75" selection-start="4148" selection-end="4148" vertical-scroll-proportion="1.7160494">
|
||||
<folding>
|
||||
<element signature="imports" expanded="true" />
|
||||
</folding>
|
||||
</state>
|
||||
</provider>
|
||||
</entry>
|
||||
<entry file="file://$PROJECT_DIR$/build.xml">
|
||||
<provider selected="true" editor-type-id="text-editor">
|
||||
<state line="29" column="123" selection-start="1270" selection-end="1270" vertical-scroll-proportion="0.5123457">
|
||||
<state line="15" column="23" selection-start="413" selection-end="413" vertical-scroll-proportion="0.14495413">
|
||||
<folding />
|
||||
</state>
|
||||
</provider>
|
||||
|
|
|
@ -36,15 +36,13 @@
|
|||
*/
|
||||
package net.thauvin.lifeblogger;
|
||||
|
||||
import java.awt.*;
|
||||
|
||||
import java.io.File;
|
||||
import java.io.IOException;
|
||||
|
||||
|
||||
/**
|
||||
* The <code>LifeBlog</code> abstract class provides the base functionality used by all blog ({@link LifeFTP}, {@link
|
||||
* LifeMediaObject}, etc.) actions.
|
||||
* The <code>LifeBlog</code> abstract class provides the base functionality for file transfer-based ({@link LifeFTP},
|
||||
* {@link LifeMediaObject}, etc.) actions.
|
||||
*
|
||||
* @author Erik C. Thauvin
|
||||
* @version $Revision$, $Date$
|
||||
|
@ -52,43 +50,18 @@ import java.io.IOException;
|
|||
* @created Jul 20, 2004
|
||||
* @since 1.0
|
||||
*/
|
||||
public abstract class LifeBlog extends Thread
|
||||
public abstract class LifeBlog extends LifeAction
|
||||
{
|
||||
/**
|
||||
* The file to upload/store.
|
||||
*/
|
||||
private final File _file;
|
||||
|
||||
/**
|
||||
* The Thinlet instance.
|
||||
*/
|
||||
private final LifeBlogger _thinlet;
|
||||
|
||||
/**
|
||||
* The Transfer dialog.
|
||||
*/
|
||||
private final Object _dialog;
|
||||
|
||||
/**
|
||||
* The file name.
|
||||
*/
|
||||
private final String _filename;
|
||||
|
||||
/**
|
||||
* The host name.
|
||||
*/
|
||||
private final String _host;
|
||||
|
||||
/**
|
||||
* The login name.
|
||||
*/
|
||||
private final String _login;
|
||||
|
||||
/**
|
||||
* The password.
|
||||
*/
|
||||
private final String _password;
|
||||
|
||||
/**
|
||||
* The path/location.
|
||||
*/
|
||||
|
@ -111,33 +84,13 @@ public abstract class LifeBlog extends Thread
|
|||
File file)
|
||||
throws IOException
|
||||
{
|
||||
_thinlet = thinlet;
|
||||
_dialog = getThinlet().parse("transfer.xml");
|
||||
_host = host;
|
||||
_login = login;
|
||||
_password = password;
|
||||
super(thinlet, host, login, password);
|
||||
|
||||
_path = path;
|
||||
_filename = filename;
|
||||
_file = file;
|
||||
}
|
||||
|
||||
/**
|
||||
* Performs the action.
|
||||
*
|
||||
* @see Thread#run()
|
||||
*/
|
||||
public abstract void run();
|
||||
|
||||
/**
|
||||
* Returns the Transfer dialog.
|
||||
*
|
||||
* @return The dialog.
|
||||
*/
|
||||
protected final Object getDialog()
|
||||
{
|
||||
return _dialog;
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns the file.
|
||||
*
|
||||
|
@ -158,36 +111,6 @@ public abstract class LifeBlog extends Thread
|
|||
return _filename;
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns the host name.
|
||||
*
|
||||
* @return The host.
|
||||
*/
|
||||
protected final String getHost()
|
||||
{
|
||||
return _host;
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns the login name.
|
||||
*
|
||||
* @return The login.
|
||||
*/
|
||||
protected final String getLogin()
|
||||
{
|
||||
return _login;
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns the password.
|
||||
*
|
||||
* @return The password.
|
||||
*/
|
||||
protected final String getPassword()
|
||||
{
|
||||
return _password;
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns the path/location.
|
||||
*
|
||||
|
@ -197,28 +120,4 @@ public abstract class LifeBlog extends Thread
|
|||
{
|
||||
return _path;
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns the Thinlet instance.
|
||||
*
|
||||
* @return The Thinlet.
|
||||
*/
|
||||
protected final LifeBlogger getThinlet()
|
||||
{
|
||||
return _thinlet;
|
||||
}
|
||||
|
||||
/**
|
||||
* Displays an alert message.
|
||||
*
|
||||
* @param message The message to display.
|
||||
*/
|
||||
protected final void alert(String message)
|
||||
{
|
||||
Toolkit.getDefaultToolkit().beep();
|
||||
|
||||
getThinlet().setIcon(getThinlet().find(getDialog(), "iconlbl"), "icon", getThinlet().getIcon("/icon/error.gif"));
|
||||
getThinlet().setString(getThinlet().find(getDialog(), "message"), "text", message);
|
||||
getThinlet().setBoolean(getThinlet().find(getDialog(), "closebtn"), "enabled", true);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -290,9 +290,20 @@ public class LifeBlogger extends Thinlet
|
|||
}
|
||||
finally
|
||||
{
|
||||
st.close();
|
||||
rs.close();
|
||||
con.close();
|
||||
if (st != null)
|
||||
{
|
||||
st.close();
|
||||
}
|
||||
|
||||
if (rs != null)
|
||||
{
|
||||
rs.close();
|
||||
}
|
||||
|
||||
if (con != null)
|
||||
{
|
||||
con.close();
|
||||
}
|
||||
}
|
||||
|
||||
toggleButton(table, find(buttonsPanel, "blogbtn"));
|
||||
|
@ -440,6 +451,14 @@ public class LifeBlogger extends Thinlet
|
|||
_prefs.put("mw-password", Base64.encodeBytes(password.getBytes(), Base64.DONT_BREAK_LINES));
|
||||
_prefs.put("mw-id", blogID);
|
||||
|
||||
if (_prefs.getProperty("blog-host") == null)
|
||||
{
|
||||
_prefs.put("blog-host", host);
|
||||
_prefs.put("blog-login", login);
|
||||
_prefs.put("blog-password", Base64.encodeBytes(password.getBytes(), Base64.DONT_BREAK_LINES));
|
||||
_prefs.put("blog-id", blogID);
|
||||
}
|
||||
|
||||
savePrefs();
|
||||
|
||||
closeDialog(dialog);
|
||||
|
@ -453,34 +472,82 @@ public class LifeBlogger extends Thinlet
|
|||
}
|
||||
|
||||
/**
|
||||
* Toggles the given button based on the specified table selection.
|
||||
* Preforms the post to blog action.
|
||||
*
|
||||
* @param table The table.
|
||||
* @param button The button.
|
||||
* @param dialog The post dialog,
|
||||
* @param blogPanel The panel contaning the post data.
|
||||
*
|
||||
* @throws IOException If an error occurs while performing the action.
|
||||
*/
|
||||
public final void toggleButton(Object table, Object button)
|
||||
public final void post(Object dialog, Object blogPanel)
|
||||
throws IOException
|
||||
{
|
||||
setBoolean(button, "enabled", getSelectedIndex(table) != -1);
|
||||
final String host = getString(find(blogPanel, "host"), "text");
|
||||
final String blogID = getString(find(blogPanel, "blogid"), "text");
|
||||
final String login = getString(find(blogPanel, "login"), "text");
|
||||
final String password = getString(find(blogPanel, "password"), "text");
|
||||
final String entry = getString(find(blogPanel, "entry"), "text");
|
||||
|
||||
if (host.length() <= 0)
|
||||
{
|
||||
alert("Please specify a XML-RPC URL.");
|
||||
}
|
||||
else if (login.length() <= 0)
|
||||
{
|
||||
alert("Please specify a login name.");
|
||||
}
|
||||
else if (password.length() <= 0)
|
||||
{
|
||||
alert("Please specify a password.");
|
||||
}
|
||||
else if (entry.length() <= 0)
|
||||
{
|
||||
alert("Please specify a post entry.");
|
||||
}
|
||||
else if (blogID.length() <= 0)
|
||||
{
|
||||
alert("Please specify a blog ID.");
|
||||
}
|
||||
else
|
||||
{
|
||||
_prefs.put("blog-host", host);
|
||||
_prefs.put("blog-login", login);
|
||||
_prefs.put("blog-password", Base64.encodeBytes(password.getBytes(), Base64.DONT_BREAK_LINES));
|
||||
_prefs.put("blog-id", blogID);
|
||||
|
||||
savePrefs();
|
||||
|
||||
closeDialog(dialog);
|
||||
|
||||
final LifePost post =
|
||||
new LifePost(this, host, blogID, login, password, getString(find(blogPanel, "entry"), "text"));
|
||||
post.start();
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Updates the table data.
|
||||
* Displays the post to blog dialog.
|
||||
*
|
||||
* @param thinlet The Thinlet object.
|
||||
* @param table The table to update.
|
||||
* @param buttonsPanel The panel containing the buttons/label to update.
|
||||
* @param url The URL pointing to the location of the media object.
|
||||
* @param filename DOCUMENT ME!
|
||||
*/
|
||||
public final void updateTable(Thinlet thinlet, Object table, Object buttonsPanel)
|
||||
public final void postDialog(String url, String filename)
|
||||
{
|
||||
thinlet.removeAll(table);
|
||||
|
||||
try
|
||||
{
|
||||
addTableRows(thinlet, table, buttonsPanel);
|
||||
final Object post = parse("post.xml");
|
||||
setString(find(post, "host"), "text", _prefs.getProperty("blog-host", ""));
|
||||
setString(find(post, "blogid"), "text", _prefs.getProperty("blog-id", ""));
|
||||
setString(find(post, "login"), "text", _prefs.getProperty("blog-login", ""));
|
||||
setString(find(post, "password"), "text", new String(Base64.decode(_prefs.getProperty("blog-password", ""))));
|
||||
setString(find(post, "entry"), "text",
|
||||
"<img src=\"" + url + "\" alt=\"" + filename +
|
||||
"\">\n<p>via <a href=\"http://www.thauvin.net/erik/lifeblogger/\">LifeBlogger</a></p>");
|
||||
add(post);
|
||||
}
|
||||
catch (Exception e)
|
||||
{
|
||||
showException(e);
|
||||
e.printStackTrace();
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -492,7 +559,7 @@ public class LifeBlogger extends Thinlet
|
|||
* @throws Exception If an error occurs while previewing the image.
|
||||
*/
|
||||
public final void preview(Object table)
|
||||
throws Exception
|
||||
throws Exception
|
||||
{
|
||||
final int selected = getSelectedIndex(table);
|
||||
|
||||
|
@ -554,6 +621,38 @@ public class LifeBlogger extends Thinlet
|
|||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Toggles the given button based on the specified table selection.
|
||||
*
|
||||
* @param table The table.
|
||||
* @param button The button.
|
||||
*/
|
||||
public final void toggleButton(Object table, Object button)
|
||||
{
|
||||
setBoolean(button, "enabled", getSelectedIndex(table) != -1);
|
||||
}
|
||||
|
||||
/**
|
||||
* Updates the table data.
|
||||
*
|
||||
* @param thinlet The Thinlet object.
|
||||
* @param table The table to update.
|
||||
* @param buttonsPanel The panel containing the buttons/label to update.
|
||||
*/
|
||||
public final void updateTable(Thinlet thinlet, Object table, Object buttonsPanel)
|
||||
{
|
||||
thinlet.removeAll(table);
|
||||
|
||||
try
|
||||
{
|
||||
addTableRows(thinlet, table, buttonsPanel);
|
||||
}
|
||||
catch (Exception e)
|
||||
{
|
||||
showException(e);
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Displays an exception stacktrace.
|
||||
*
|
||||
|
@ -658,6 +757,7 @@ public class LifeBlogger extends Thinlet
|
|||
setString(find(ftp, "filename"), "text", file.substring(file.lastIndexOf('\\') + 1));
|
||||
setString(find(ftp, "host"), "text", _prefs.getProperty("host", ""));
|
||||
setString(find(ftp, "login"), "text", _prefs.getProperty("login", "anonymous"));
|
||||
setString(find(ftp, "path"), "text", _prefs.getProperty("path", ""));
|
||||
setString(find(ftp, "password"), "text", new String(Base64.decode(_prefs.getProperty("password", ""))));
|
||||
add(ftp);
|
||||
requestFocus(find(ftp, "host"));
|
||||
|
|
|
@ -130,6 +130,7 @@ public class LifeFTP extends LifeBlog
|
|||
else
|
||||
{
|
||||
getThinlet().closeDialog(getDialog());
|
||||
getThinlet().postDialog(getPath() + (getPath().endsWith("/") ? "" : "/") + getFilename(), getFilename());
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,155 +0,0 @@
|
|||
/*
|
||||
* @(#)LifeMediaObjResponse.java
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
* modification, are permitted provided that the following conditions are
|
||||
* met:
|
||||
*
|
||||
* Redistributions of source code must retain the above copyright notice,
|
||||
* this list of conditions and the following disclaimer.
|
||||
*
|
||||
* Redistributions in binary form must reproduce the above copyright notice,
|
||||
* this list of conditions and the following disclaimer in the documentation
|
||||
* and/or other materials provided with the distribution.
|
||||
*
|
||||
* Neither the name of the authors nor the names of its contributors may be
|
||||
* used to endorse or promote products derived from this software without
|
||||
* specific prior written permission.
|
||||
*
|
||||
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS
|
||||
* IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
|
||||
* THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
|
||||
* PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
|
||||
* CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
|
||||
* EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
|
||||
* PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
|
||||
* PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
|
||||
* LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
|
||||
* NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
|
||||
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
*
|
||||
* $Id$
|
||||
*
|
||||
*/
|
||||
package net.thauvin.lifeblogger;
|
||||
|
||||
import thinlet.Thinlet;
|
||||
|
||||
import java.io.IOException;
|
||||
import java.io.InputStream;
|
||||
|
||||
|
||||
/**
|
||||
* The <code>LifeMediaObjResponse</code> class uses the Thinlet DOM parser to process the metaWeblog.newMediaObject
|
||||
* XML-RPC reponse.
|
||||
*
|
||||
* @author Erik C. Thauvin
|
||||
* @version $Revision$, $Date$
|
||||
*
|
||||
* @created Jul 21, 2004
|
||||
* @since 1.0
|
||||
*/
|
||||
public class LifeMediaObjResponse extends Thinlet
|
||||
{
|
||||
private final InputStream _inputStream;
|
||||
private String _response;
|
||||
|
||||
/**
|
||||
* Creates a new LifeMediaObjResponse object.
|
||||
*
|
||||
* @param inputStream The input stream.
|
||||
*/
|
||||
public LifeMediaObjResponse(InputStream inputStream)
|
||||
{
|
||||
_inputStream = inputStream;
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns the XML-RPC response/fault string.
|
||||
*
|
||||
* @return The response string.
|
||||
*/
|
||||
public final String getResponse()
|
||||
{
|
||||
return _response;
|
||||
}
|
||||
|
||||
/**
|
||||
* Parses and validates the XML-RPC response.
|
||||
*
|
||||
* @return <code>true</code> is the response is valid, <code>false</code> if it is a fault.
|
||||
*
|
||||
* @throws IOException If an error occurs while processing the response.
|
||||
*/
|
||||
public final boolean isValidResponse()
|
||||
throws IOException
|
||||
{
|
||||
try
|
||||
{
|
||||
final Object dom = parseDOM(_inputStream);
|
||||
final Object params = getDOMNode(dom, "params", 0);
|
||||
|
||||
if (params != null)
|
||||
{
|
||||
final Object param = getDOMNode(params, "param", 0);
|
||||
final Object value = getDOMNode(param, "value", 0);
|
||||
final Object struct = getDOMNode(value, "struct", 0);
|
||||
final Object member = getDOMNode(struct, "member", 0);
|
||||
final Object url = getDOMNode(member, "value", 0);
|
||||
final Object string = getDOMNode(url, "string", 0);
|
||||
|
||||
if (string == null)
|
||||
{
|
||||
_response = getDOMText(url);
|
||||
}
|
||||
else
|
||||
{
|
||||
_response = getDOMText(string);
|
||||
}
|
||||
|
||||
return true;
|
||||
}
|
||||
else
|
||||
{
|
||||
final Object fault = getDOMNode(dom, "fault", 0);
|
||||
final Object value = getDOMNode(fault, "value", 0);
|
||||
final Object struct = getDOMNode(value, "struct", 0);
|
||||
Object member = getDOMNode(struct, "member", 0);
|
||||
|
||||
if (getDOMCount(struct, "member") > 1)
|
||||
{
|
||||
member = getDOMNode(struct, "member", 1);
|
||||
}
|
||||
|
||||
final Object error = getDOMNode(member, "value", 0);
|
||||
final Object string = getDOMNode(error, "string", 0);
|
||||
|
||||
if (string != null)
|
||||
{
|
||||
_response = getDOMText(string);
|
||||
}
|
||||
else
|
||||
{
|
||||
throw new IOException("Could not parse the XML-RPC error response.");
|
||||
}
|
||||
|
||||
return false;
|
||||
}
|
||||
}
|
||||
catch (IOException e)
|
||||
{
|
||||
throw e;
|
||||
}
|
||||
finally
|
||||
{
|
||||
try
|
||||
{
|
||||
_inputStream.close();
|
||||
}
|
||||
catch (IOException ignore)
|
||||
{
|
||||
; // Do nothing
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
|
@ -36,9 +36,6 @@
|
|||
*/
|
||||
package net.thauvin.lifeblogger;
|
||||
|
||||
import java.awt.*;
|
||||
import java.awt.datatransfer.StringSelection;
|
||||
|
||||
import java.io.*;
|
||||
|
||||
import java.net.URL;
|
||||
|
@ -46,7 +43,7 @@ import java.net.URLConnection;
|
|||
|
||||
|
||||
/**
|
||||
* The <code>LifeMediaObject</code> class posts a new media object via the metaWeblog.newMediaObject XML-RPC call.
|
||||
* The <code>LifeMediaObject</code> class posts a new media object via the metaWeblog.newMediaObject XML-RPC method.
|
||||
*
|
||||
* @author Erik C. Thauvin
|
||||
* @version $Revision$, $Date$
|
||||
|
@ -165,19 +162,12 @@ public class LifeMediaObject extends LifeBlog
|
|||
|
||||
dos.close();
|
||||
|
||||
final LifeMediaObjResponse xmlrpc = new LifeMediaObjResponse(urlConn.getInputStream());
|
||||
final LifeRPCResponse xmlrpc = new LifeRPCResponse(urlConn.getInputStream());
|
||||
|
||||
if (xmlrpc.isValidResponse())
|
||||
{
|
||||
getThinlet().setIcon(getThinlet().find(getDialog(), "iconlbl"), "icon",
|
||||
getThinlet().getIcon("/icon/info.gif"));
|
||||
getThinlet().setString(getThinlet().find(getDialog(), "message"), "text",
|
||||
"The file can now be accessed at:\n\n" + xmlrpc.getResponse() +
|
||||
"\n\nwhich has been copied to the clipboard.");
|
||||
getThinlet().setBoolean(getThinlet().find(getDialog(), "closebtn"), "enabled", true);
|
||||
|
||||
final StringSelection ss = new StringSelection(xmlrpc.getResponse());
|
||||
Toolkit.getDefaultToolkit().getSystemClipboard().setContents(ss, ss);
|
||||
getThinlet().closeDialog(getDialog());
|
||||
getThinlet().postDialog(xmlrpc.getResponse(), getFilename());
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/* Created by JReleaseInfo AntTask from Open Source Competence Group */
|
||||
/* Creation date Fri Jul 23 12:07:42 PDT 2004 */
|
||||
/* Creation date Sat Jul 24 05:15:28 PDT 2004 */
|
||||
package net.thauvin.lifeblogger;
|
||||
|
||||
import java.util.Date;
|
||||
|
@ -12,21 +12,21 @@ import java.util.Date;
|
|||
public class ReleaseInfo {
|
||||
|
||||
|
||||
/** buildDate (set during build process to 1090609662812L). */
|
||||
private static Date buildDate = new Date(1090609662812L);
|
||||
/** buildDate (set during build process to 1090671328718L). */
|
||||
private static Date buildDate = new Date(1090671328718L);
|
||||
|
||||
/**
|
||||
* Get buildDate (set during build process to Fri Jul 23 12:07:42 PDT 2004).
|
||||
* Get buildDate (set during build process to Sat Jul 24 05:15:28 PDT 2004).
|
||||
* @return Date buildDate
|
||||
*/
|
||||
public static final Date getBuildDate() { return buildDate; }
|
||||
|
||||
|
||||
/**
|
||||
* Get buildNumber (set during build process to 101).
|
||||
* Get buildNumber (set during build process to 107).
|
||||
* @return int buildNumber
|
||||
*/
|
||||
public static final int getBuildNumber() { return 101; }
|
||||
public static final int getBuildNumber() { return 107; }
|
||||
|
||||
|
||||
/** version (set during build process to "0.1.0"). */
|
||||
|
|
|
@ -14,7 +14,7 @@
|
|||
<label alignment="left" weightx="1" text="and Erik C. Thauvin"/>
|
||||
</panel>
|
||||
<panel top="0" columns="1" left="8" bottom="0" gap="0" right="8">
|
||||
<label alignment="left" weightx="1" text="Logo made by Russell Beattie"/>
|
||||
<label alignment="left" weightx="1" text="LifeBlogger is open source."/>
|
||||
</panel>
|
||||
<panel top="0" columns="1" left="8" bottom="4" gap="0" right="8">
|
||||
<label alignment="center" weightx="1" icon="/icon/thinlet.gif"/>
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<dialog name="dialog" text="Send via FTP" modal="false" columns="1" gap="4" top="4" left="4" bottom="4" right="4">
|
||||
<dialog name="dialog" icon="/icon/icon.gif" text="Send via FTP" modal="false" columns="1" gap="4" top="4" left="4" bottom="4" right="4">
|
||||
<panel name="ftp" columns="2" halign="right" gap="4">
|
||||
<label text="File:"/><textfield name="file" columns="50" editable="false"/>
|
||||
<label text="Host:"/><textfield name="host" start="0" end="1000"/>
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<dialog name="dialog" text="Send via MetaWeblog" modal="false" columns="1" gap="4" top="4" left="4" bottom="4" right="4">
|
||||
<dialog name="dialog" icon="/icon/icon.gif" text="Send via MetaWeblog" modal="false" columns="1" gap="4" top="4" left="4" bottom="4" right="4">
|
||||
<panel name="mw" columns="2" halign="right" gap="4">
|
||||
<label text="File:"/><textfield name="file" columns="50" editable="false"/>
|
||||
<label text="URL:"/><textfield name="host" start="0" end="1000"/>
|
||||
<label text="RPC URL:"/><textfield name="host" start="0" end="1000"/>
|
||||
<label text="Blog ID:"/><textfield name="blogid"/>
|
||||
<label text="Login:"/><textfield name="login"/>
|
||||
<label text="Password:"/><passwordfield name="password"/>
|
||||
|
|
|
@ -22,7 +22,7 @@ function insertLink(url) {
|
|||
if (javawsInstalled) {
|
||||
document.write("<form action=\"" + url + "\" method=\"GET\"><input type=\"submit\" value=\"Launch\" align=\"right\"></form>");
|
||||
} else {
|
||||
document.write("<form action=\"http://www.java.com/\" method=\"GET\"><input type=\"submit\" value=\"Install Web Start\" align=\"right\"></form>");
|
||||
document.write("<a href=\"http://www.java.com/\"><img src=\"images/get_java.gif\" alt=\"Get Java Now!\" border=\"0\"></a>");
|
||||
}
|
||||
}
|
||||
</SCRIPT>
|
||||
|
@ -41,14 +41,7 @@ End If
|
|||
<table align="center" border="0" cellpadding="0" cellspacing="0" width="738">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td align="left" height="58" valign="bottom" width="418"><img src="images/logo.gif" alt="LifeBlogger" id="logo_hoover" border="0" height="57" vspace="10" width="237"></td>
|
||||
<td align="right" height="58" valign="middle" width="320">  </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="2" bgcolor="#d3e1ee" height="19" valign="top"><img src="images/x.gif" id="positioner" border="0" height="19" width="13"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="2" bgcolor="#ffffff" height="5" valign="top"><img src="images/1x1trans.gif" border="0" height="5" width="1"></td>
|
||||
<td align="left" colspan="2" height="60" valign="bottom" width="738"><img src="images/banner.gif" alt="LifeBlogger" id="logo_hoover" border="0" height="60" vspace="10" width="738"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="2" align="left" valign="top"><table border="0" cellpadding="0" cellspacing="0">
|
||||
|
@ -75,7 +68,7 @@ End If
|
|||
</tr>
|
||||
<tr>
|
||||
<td valign="top" width="219"><p>LifeBlogger allows you to post your <a href="http://www.nokia.com/lifeblog/">Nokia Lifeblog</a> favorites to your blog.</p>
|
||||
<p>Your images, text notes and videos can now be posted to your blog using FTP (<a href="http://www.blogger.com/">Blogger</a>, etc.) or via the MetaWeblog API (<a href="http://www.movabletype.org/">Movable Type</a>, <a href="http://radio.userland.com/">Radio UserLand</a>, etc.). </p>
|
||||
<p>Your images, text notes and videos can now be effortlessly posted to your blog using FTP (<a href="http://www.blogger.com/">Blogger</a>, etc.) or via the MetaWeblog API (<a href="http://www.movabletype.org/">Movable Type</a>, <a href="http://radio.userland.com/">Radio UserLand</a>, etc.).</p>
|
||||
<p>LifeBlogger makes extensive use of various <strong>open source libraries</strong>, including:</p>
|
||||
<ul>
|
||||
<li><a href="http://www.thinlet.com/">Thinlet</a></li>
|
||||
|
@ -95,8 +88,8 @@ End If
|
|||
<li>and <a href="http://www.thauvin.net/erik/">Erik C. Thauvin</a></li>
|
||||
</ul>
|
||||
<p>The open source code is written and maintained by <a href="http://www.thauvin.net/erik/">Erik C. Thauvin</a>. </p>
|
||||
<p>The LifeBlogger logo was designed by <a href="http://www.russellbeattie.com/">Russell Beattie</a>.</p>
|
||||
<p>This web page layout was stolen from <a href="http://www.nokia.com/lifeblog/">Nokia</a>.</p></td>
|
||||
<p>This web page layout was stolen from <a href="http://www.nokia.com/lifeblog/">Nokia</a>.</p>
|
||||
<p>Click <a href="http://cvs.thauvin.net/java/LifeBlogger/licenses/License.txt?view=auto">here</a> to view the LifeBlogger open source license. </p></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table></td>
|
||||
|
@ -114,15 +107,17 @@ End If
|
|||
<div align="center">
|
||||
<script type="text/javascript">insertLink('http://www.thauvin.net/erik/download/lifeblogger/LifeBlogger.jnlp');</script>
|
||||
</div>
|
||||
<span class="Grey10px">Requirements</span><br>
|
||||
<span class="Grey10px"><a href="http://www.nokia.com/lifeblog/">Nokia Lifeblog</a> (Windows only)<br>
|
||||
<a href="http://www.java.com/">Java 1.4</a></span><br>
|
||||
<p><span class="Blue12pxBold">Source</span><br>
|
||||
<p><span class="Grey10px">Requirements</span><br>
|
||||
<span class="Grey10px"><a href="http://www.nokia.com/lifeblog/">Nokia Lifeblog</a><br>
|
||||
<a href="http://www.java.com/">Java 1.4</a></span></p>
|
||||
<p><span class="Grey10px"> LifeBlogger only runs on Windows, at least until Nokia produces a LifeBlog version for Mac or Linux. </span> <br>
|
||||
</p>
|
||||
<p> <span class="Blue12pxBold">Source</span><br>
|
||||
You can also download the latest source archive. <a href="http://www.thauvin.net/erik/download/lifeblogger/LifeBlogger-src.zip">»</a></p>
|
||||
<p><span class="Blue12pxBold">CVS</span><br>
|
||||
Or browse/download the source code from CVS. <a href="http://cvs.thauvin.net/java/LifeBlogger/">»</a></p>
|
||||
<p><span class="Blue12pxBold">Screenshots</span><br>
|
||||
Still not convinced? Try <a href="images/shot1.jpg">here</a> and <a href="images/shot2.jpg">here</a>.</p></td>
|
||||
Still not convinced? Try <a href="images/shot1.jpg">here</a> and <a href="images/shot2.jpg">here</a> or <a href="images/shot3.gif">here</a>.</p></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table></td>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue