<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>akeller's world &#187; Anleitung</title>
	<atom:link href="http://akeller.eu/en/tag/anleitung/feed/" rel="self" type="application/rss+xml" />
	<link>http://akeller.eu</link>
	<description>Was ich unbedingt mitteilen muß! Weblog von Andreas Keller</description>
	<lastBuildDate>Mon, 16 May 2011 17:30:58 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.6</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
		<item>
		<title>Adjusting Semantic Scuttle (Tutorial Part 2)</title>
		<link>http://akeller.eu/en/anpassung-von-semantic-scuttle-tutorial-teil-2/</link>
		<comments>http://akeller.eu/en/anpassung-von-semantic-scuttle-tutorial-teil-2/#comments</comments>
		<pubDate>Sat, 09 Aug 2008 16:38:33 +0000</pubDate>
		<dc:creator>Andreas</dc:creator>
				<category><![CDATA[Semantic Scuttle]]></category>
		<category><![CDATA[Anleitung]]></category>
		<category><![CDATA[bookmarks]]></category>
		<category><![CDATA[Scuttle]]></category>
		<category><![CDATA[Thumbnails]]></category>

		<guid isPermaLink="false">http://akeller.eu/?p=151</guid>
		<description><![CDATA[Adjusting Semantic Scuttle 0.89. Part 2 of the tutorial from Andreas Keller at akeller's world]]></description>
			<content:encoded><![CDATA[
<!-- google_ad_section_start -->
<p>After we installed in the <a title="Installation of Semantic Scuttle 0.89" href="/installation-von-semantic-scuttle-089/">first part</a> Semantic Scuttle we want to make some adjustments to our installation in the second part.</p>
<p><span id="more-151"></span></p>
<h2>Cleanurls</h2>
<p>If you take a look at the links in the top-menu you see for example a link like &#8220;http://domain.xxx/populartags.php/&#8221; for the popular tags.</p>
<p>This is not looking nice and we are going to change this via cleanurls. After adjusting, the link should look like: &#8220;http://domain.xxx/populartags/&#8221;. This is realized via a <a title="Wikipedia  htaccess" href="http://en.wikipedia.org/wiki/.htaccess">.htaccess</a>-file. But watch out, this is not available for all servers.</p>
<ol>
<li>Open the file &#8220;config.inc.php&#8221; and set $cleanurls to true<br />
<code>$cleanurls          = true;</code><br />
Save the file and test if the cleanurls are working. If everything is doing fine your are done and you can skip the next steps.</li>
<li>If it is not working open the file .htaccess (it is in the root of your installation, if you don&#8217;t see the file ensure, that you switched on &#8220;show hidden files&#8221; in your FTP-program). In Line 29 and 30 you will find:<br />
<code>RewriteRule ^([^/]+)/?(.*) $1.php?query=$2 [L,QSA]        #option 1<br />
#RewriteRule ^([^/]+)/?(.*)       $1.php/$2       [L]     #option 2</code><br />
Add a # at the start of line 29 and delete it in line 30:<br />
<code>#RewriteRule ^([^/]+)/?(.*) $1.php?query=$2 [L,QSA]        #option 1<br />
RewriteRule ^([^/]+)/?(.*)       $1.php/$2       [L]     #option 2</code><br />
Save the file and try again if it is now working.</li>
<li>If it is still not working, open the file &#8220;constants.inc.php&#8221; and commend or delete the lines 21 to 23:<br />
<code>// Correct bug with PATH_INFO (maybe for Apache 1)<br />
// if(strlen($_SERVER["PATH_INFO"])<br />
// $_SERVER["PATH_INFO"] = $_SERVER["ORIG_PATH_INFO"];<br />
//}</code><br />
Save the file and try again.</li>
</ol>
<p>If it is still not working, please leave me a comment and I will try to find a solution. Please check first if your web-server supports .htaccess.</p>
<h2>Valid XHTML 1.1?</h2>
<p>Start your favorite browser and open the <a title="W3 Validator" href="http://validator.w3.org/">W3-Validator</a> put in the address of your Semantic Scuttle installation. The result will be about 28 errors und 19 warnings. This we should fix if we want to be beloved by search-engines.</p>
<ol>
<li>If you get the error: &#8220;cannot generate system identifier for general entity &#8220;PHPSESSID&#8221;.&#8221;, open the file &#8220;index.php&#8221; and add in line 21 before:<br />
<code>require_once('header.inc.php');</code><br />
this line:<br />
<code>ini_set('arg_separator.output','&amp;amp;');</code></li>
<li> Open the file /templates/bookmarks.tpl.php and search: <code >echo '<br />
&lt;img class="thumbnail" src="http://www.artviper.net/screenshots/screener.php?sdx=1024&amp;amp;sdy=768&amp;amp;w=90&amp;amp;h=68&amp;amp;url='.$address.'" alt="" /&gt;';</code><br />
Add in front of src=&#8221;http://&#8230;. an alt=&#8221;":<br />
<code>&lt;img class="thumbnail" alt="thumbnail" src="http:/....</code><br />
and change the &amp; in<br />
<code> screener.php?sdx=1024&amp;amp;sdy=768&amp;amp;w=90&amp;amp;h=68&amp;amp;url='.$address.'"</code><br />
at the end there is missing a &#8220;/&#8221;, add it:<br />
<code>$address.'" /&gt;';</code></li>
</ol>
<p>After checking with the validator again there should remain only one error:<br />
<code>Line 28, Column 150: document type does not allow element "input" ...</code><br />
Until now I didn&#8217;t figure out how to fix this error but I&#8217;m still search a solution. Maybe you know how to solve it?</p>
<h2>Other service to generate thumbnails</h2>
<p>Because we just edited the right place in the /templates/bookmarks.tpl.php:<br />
<code >echo '&lt;href="'. $address .'"'. $rel .' &gt;&lt;img class="thumbnail" alt="thumbnail" src="<br />
http://www.artviper.net/screenshots/screener.php?sdx=1024&amp;amp;sdy=768&amp;amp;w=90&amp;amp;h=68&amp;amp;url='.$address.'"&gt;&lt;/a&gt;';</code><br />
Here is given the code for generating thumbnails. By default this is <a title="Artviper" href="http://www.artviper.net/">artviper.net</a>, if you want to use this service you should notice:</p>
<ul>
<li>The service is only free for non-commercial sites and you should add a back-link to artviper.net.</li>
<li>For commercial projects you can buy a licence <a title="Websitethumbnail.de" href="http://www.websitethumbnail.de/">here</a>.</li>
</ul>
<p>From time to time the generation of thumbnails with artviper takes a long time, because of this I tried to find an alternative service.</p>
<dl>
<dt><a title="websnapr.com" href="http://www.websnapr.com/">Websnapr.com</a></dt>
<dd>
Fast and reliable service, no registration needed, premium-service available.<br />
Disadvantage: There is a watermark &#8220;by Websnapr.com&#8221; on each thumbnail</dd>
<dt><a title="M-Software.de" href="http://www.m-software.de/thumbshots.html">M-Software.de</a></dt>
<dd>Also for commercial projects free and no registration needed.<br />
<a title="M-Software FAQ" href="http://www.m-software.de/thumbshots-faq.php">Restrictions</a> according content e.g. no pornography.<br />
Disadvantage: Generation of thumbnails needs some time.
</dd>
<dt><a title="Seekxl Snapr" href="http://snapr.seekxl.de/">Seekxl Snapr.de</a></dt>
<dd>
Free service, <del datetime="2008-09-08T07:22:18+00:00">back-link is needed</del> a back-link is not needed. If you are registered (also free) you can set up an custom image if the thumbnail is not generated yet &#8211; but than you have to add a back-link to the service.</dd>
<dt><a title="Mr Thumb" href="http://www.mr-thumb.de/">Mr-Thumb.de</a></dt>
<dd>Free, the generation of thumbnails could be faster.</dd>
<dt><a title="Webseitentuning.de" href="http://www.webseitentuning.de/anleitung-thumbshots.php">www.webseitentuning.de</a></dt>
<dd>Free, unfortunately slowly.</dd>
<dt><a title="Livethumb.de" href="http://livethumb.de/">livethumb.de</a></dt>
<dd>Free, watermark: &#8220;preview by liveThumb&#8221; if you don&#8217;t link back. Relative fast and reliable.</dd>
<dt><a title="Picoshot.com" href="http://image.picoshot.com ">picoshot.com</a></dt>
<dd>Free and fast but sometimes problems to generate the thumbnail from the given site.</dd>
<dt><a title="Shrink the Web" href="http://www.shrinktheweb.com/">www.shrinktheweb.com</a></dt>
<dd>Free for 250,000 requests per month, pro-features for some fee. Generell registration needed. Fast and reliable. Anomaly: can not deal with &#8216;http://&#8217;.<br />
Solution:<br />
<code>$n_address = substr($address, 7);</code><br />
Than call via:<br />
<code> ...Url='.$n_address.'</code> </dd>
<dt><a href="http://capture.heartrails.com/" title="capture.heartrails.com">capture.heartrails.com/</a></dt>
<dd>If you are able to speak Japanese, this service is maybe something for you.</dd>
</dl>
<p>&nbsp;<br />All of this thumbnail-services what to have a back-link or require this explicitly. But I think, this is OK. Nothing is really free. Therefore next we will take a look, where to place this link back to the thumbnail-service.</p>
<p>Maybe you know an other thumbnail-service? Please leave a comment, thanks.</p>
<h2>Templates</h2>
<p>The different areas of Semantic Scuttle are organized by means of different files. The main of these are:</p>
<dl>
<dt><strong>Head (header): /templates/top.tpl.php</strong></dt>
<dd>Here you should add  some meta-tags.</dd>
<dt><strong>Foot (footer): /templates/bottom.tpl.php</strong></dt>
<dd>In the foot you can place the back-link to the thumbnail-service.</dd>
<dt><strong>&#8220;About&#8221;-page: /templates/about.tpl.php</strong></dt>
<dd>Here is a good place to add some information e.g. about your person or / and a disclaimer.</dd>
</dl>
<p>About how to change the style of Semantic Scuttle I will maybe write something later on.</p>
<h2>Bug: Renaming Tags</h2>
<p>In Semantic Scuttle version 0.89 is a little bug, the renaming of tags is not working. The solution is published by <a title="Lösung für den Rename Tag Bug" href="https://sourceforge.net/forum/forum.php?thread_id=2103104&amp;forum_id=759510">Andreas Glaeser</a>.</p>
<p>Open the file &#8220;tagrename.php&#8221; and add in line 23 after<br />
<code>"require_once('header.inc.php');"</code> following line:<br />
<code>$tagservice = &amp; ServiceFactory :: getServiceInstance('TagService');</code><br />
Open the file &#8220;/services/tagservice.php&#8221; starting in line 69 you find the function &#8220;renameTag&#8221; add a &#8220;return true;&#8221;, should look like:<br />
<code>    function renameTag($uId, $oldName, $newName) {<br />
	$query = 'UPDATE `'. $this-&gt;getTableName() .'`';<br />
	$query.= ' SET tag="'.$newName.'"';<br />
	$query.= ' WHERE tag="'.$oldName.'"';<br />
	$query.= ' AND uId="'.$uId.'"';<br />
	$this-&gt;db-&gt;sql_query($query);<br />
    return true;<br />
    }</code><br />
Now the renaming of tags should work fine.<br />
<strong><br />
This was the second part of the tutorials about Semantic Scuttle. I would very appreciate some feedback if this is helpfully for you. The translation (I&#8217;m German) takes unfortunately some time and I&#8217;m not sure about its quality. If I get the feeling, that my articles will help others than I will go on and write another article about Semantic Scuttle.</strong></p>

<!-- google_ad_section_end -->
]]></content:encoded>
			<wfw:commentRss>http://akeller.eu/en/anpassung-von-semantic-scuttle-tutorial-teil-2/feed/</wfw:commentRss>
		<slash:comments>16</slash:comments>
		</item>
		<item>
		<title>Installation of Semantic Scuttle 0.89</title>
		<link>http://akeller.eu/en/installation-von-semantic-scuttle-089/</link>
		<comments>http://akeller.eu/en/installation-von-semantic-scuttle-089/#comments</comments>
		<pubDate>Sun, 03 Aug 2008 13:07:04 +0000</pubDate>
		<dc:creator>Andreas</dc:creator>
				<category><![CDATA[Semantic Scuttle]]></category>
		<category><![CDATA[Anleitung]]></category>
		<category><![CDATA[bookmarks]]></category>
		<category><![CDATA[Installation]]></category>
		<category><![CDATA[Scuttle]]></category>

		<guid isPermaLink="false">http://akeller.eu/?p=67</guid>
		<description><![CDATA[A desciption how to install the open source Semantic Scuttle (a social bookmarking system) on your webserver.]]></description>
			<content:encoded><![CDATA[
<!-- google_ad_section_start -->
<p><a title="Semantic Scuttle" href="http://sourceforge.net/projects/semanticscuttle/">Semantic Scuttle</a> is an open source <a title="Wikipedia zu Social Bookmarks" href="http://en.wikipedia.org/wiki/Social_bookmarking">social bookmarking</a> system and a further development from <a title="Scuttle" href="http://sourceforge.net/projects/scuttle/">Scuttle</a>. Some well known hosts uses Scuttle, e.g. <a title="Alltagz.de" href="http://alltagz.de/">Alltagz.de</a>.</p>
<p>In this short tutorial I will give a short description how to install Semantic Scuttle.</p>
<p><span id="more-67"></span></p>
<p>For the installation you need an account with PHP and MySQL. It seems that there are also other database-systems supported but I didn&#8217;t tried to install on a different database than MySQL.</p>
<h2>Installation</h2>
<ol>
<li><a title="Semantic Scuttle" href="http://sourceforge.net/projects/semanticscuttle/">Download Semantic Scuttle</a> form Sourceforge.net, at the moment the latest version is 0.89</li>
<li>Extract the Zip-File and upload the files to your web-server</li>
<li>Import the file &#8220;tables.sql&#8221; to your database. With phpMyAdmin this is quite simpel.</li>
<li>Rename the file &#8220;config.inc.php.example&#8221; to &#8220;config.inc.php&#8221; and open it with your favorite editor.  This file contains all basic information about your system</li>
</ol>
<h2>Settings in &#8220;config.inc.php&#8221;</h2>
<h3>Basic Settings</h3>
<pre>$sitename           = 'SemanticScuttle';</pre>
<p>Name of your site, will appear in the header.</p>
<pre>$welcomeMessage     = 'Welcome to SemanticScuttle! More than a social
bookmarking tool.';</pre>
<p>Welcome-message, will displayed above your bookmarks.</p>
<pre>$root               = NULL;</pre>
<p>Leave here &#8220;NULL&#8221; if your installation is not placed in a sub folder, otherwise you should write here the url to your installation e.g. &#8220;www.yoursite.xx/subfolder/&#8221;.</p>
<pre>$locale             = 'en_GB';</pre>
<p>Here you can set the language of your installation.</p>
<pre>$usecache           = false;</pre>
<p>The cache-system, for now we leave &#8220;false&#8221;.</p>
<pre>$dir_cache          = dirname(__FILE__) .'/cache/';</pre>
<p>Path to cache, leave the preset value.</p>
<pre>$cleanurls          = false;</pre>
<p>This is for setting &#8220;nice urls&#8221;, for now leave it with the default &#8220;false&#8221;.</p>
<h3>Database</h3>
<pre>$dbtype = 'mysql4';</pre>
<p>Choose the type of your database, leave mysql4 for MySQL.</p>
<pre>$dbhost = '127.0.0.1';
$dbport = '3306';</pre>
<p>For over 99% of all installations the default settings are good.</p>
<pre>$dbuser = 'username';
$dbpass = 'password';</pre>
<p>Place here the username and password for your database.</p>
<pre>$dbname = 'scuttle';</pre>
<p>The name of your database.</p>
<pre>$tableprefix = 'sc_';</pre>
<p>Prefix of the tables in your database. If you imported the file &#8220;tables.sql&#8221; than leave the default.</p>
<h3>User</h3>
<pre>$adminemail         = 'admin@example.org';</pre>
<p>This emails-address is used if a users has lost his password and is requesting a new one.</p>
<pre>$admin_users = array('admin');</pre>
<p>Until now there is no user but here you should already put in your login-name. If there are more than one admin use:</p>
<p>array(&#8217;name1&#8242;, &#8216;name2&#8242;, &#8216;name3&#8242;);</p>
<pre>$reservedusers      = array('all', 'watchlist');</pre>
<p>Which words can not be used for usernames.</p>
<h3>Antispam</h3>
<p>For registration there is a simple antispam-question.</p>
<pre>$antispamQuestion = 'name of this application (no Caps)';</pre>
<p>The question, e.g. =&#8217;What is 2 plus 3&#8242;;</p>
<pre>$antispamAnswer = 'semanticscuttle';</pre>
<p>The answer, e.g =&#8217;5&#8242;;</p>
<p>The rest of the file is not important at the moment, we want to have a running system quick. <img src='http://akeller.eu/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<ol>
<li>Save the file &#8220;config.inc.php&#8221; and upload it to your webserver.</li>
<li>Browse to your installation. If everything is OK you will see:</li>
</ol>

<a href="http://akeller.eu/wp-content/gallery/semanticscuttle/sscuttle01.jpg" rel="shadowbox[post-67];player=img;" title="Der Startbildschirm von Semantic Scuttle, noch kein Benutzer und Bookmark" class="shutterset_singlepic15" >
	<img class="ngg-singlepic ngg-center" src="http://akeller.eu/wp-content/gallery/cache/15__320x240_sscuttle01.jpg" alt="Semantic Scuttle Startbildschirm" title="Semantic Scuttle Startbildschirm" />
</a>

<p style="text-align: center;"><small>Start page of Semantic Scuttle</small></p>
<h2>Register as user</h2>
<p>Now you should register yourself as a user. Click on the link &#8220;register&#8221;.</p>

<a href="http://akeller.eu/wp-content/gallery/semanticscuttle/sscuttle02.jpg" rel="shadowbox[post-67];player=img;" title="Sematic Scuttle User registrieren" class="shutterset_singlepic16" >
	<img class="ngg-singlepic ngg-center" src="http://akeller.eu/wp-content/gallery/cache/16__320x240_sscuttle02.jpg" alt="Sematic Scuttle User registrieren" title="Sematic Scuttle User registrieren" />
</a>

<p style="text-align: center;"><small>User-registration</small></p>
<p>Fill the form and click the button &#8220;register&#8221;. This will lead you to the startpage logged in as a user.</p>

<a href="http://akeller.eu/wp-content/gallery/semanticscuttle/sscuttle03.jpg" rel="shadowbox[post-67];player=img;" title="Semantic Scuttle Startbildschirm mit angemeldeten Benutzer" class="shutterset_singlepic17" >
	<img class="ngg-singlepic ngg-center" src="http://akeller.eu/wp-content/gallery/cache/17__320x240_sscuttle03.jpg" alt="Semantic Scuttle Startbildschirm mit angemeldeten Benutzer" title="Semantic Scuttle Startbildschirm mit angemeldeten Benutzer" />
</a>

<p style="text-align: center;"><small>Start page logged in as user</small></p>
<h2>Add Bookmark</h2>
<p>Now we want to add a bookmark to your fresh Sematic Scuttle, click on the link &#8220;add a bookmark&#8221;.</p>

<a href="http://akeller.eu/wp-content/gallery/semanticscuttle/sscuttle04.jpg" rel="shadowbox[post-67];player=img;" title="Semantic Scuttle Bookmark hinzufügen" class="shutterset_singlepic18" >
	<img class="ngg-singlepic ngg-center" src="http://akeller.eu/wp-content/gallery/cache/18__320x240_sscuttle04.jpg" alt="Semantic Scuttle Bookmark hinzufügen" title="Semantic Scuttle Bookmark hinzufügen" />
</a>

<p style="text-align: center;"><small>Add Bookmark</small></p>
<p>On this page &#8220;add bookmark&#8221; you find some useful tools. At <strong>Bookmarklet</strong> there are two useful links for quick bookmarking. Especially the version (Pop-up) I like very much. Drag and drop the link to the toolbar of your browser and you can easily add bookmarks to your Semantic Scuttle.</p>

<a href="http://akeller.eu/wp-content/gallery/semanticscuttle/sscuttle05.jpg" rel="shadowbox[post-67];player=img;" title="Bookmarklet pop-up Bookmark hinzufügen" class="shutterset_singlepic19" >
	<img class="ngg-singlepic ngg-center" src="http://akeller.eu/wp-content/gallery/cache/19__320x240_sscuttle05.jpg" alt="Bookmarklet pop-up Bookmark hinzufügen" title="Bookmarklet pop-up Bookmark hinzufügen" />
</a>

<p style="text-align: center;"><small>Popup add Bookmark</small></p>
<p>At <strong>Import</strong> you have the ability to import Bookmarks.</p>
<p>Fill the required information in the form, after clicking &#8220;Add Bookmark&#8221; you be redirected  again to the start-page.</p>

<a href="http://akeller.eu/wp-content/gallery/semanticscuttle/sscuttle06.jpg" rel="shadowbox[post-67];player=img;" title="Semantic Scuttle mit Bookmark" class="shutterset_singlepic20" >
	<img class="ngg-singlepic ngg-center" src="http://akeller.eu/wp-content/gallery/cache/20__320x240_sscuttle06.jpg" alt="Semantic Scuttle mit Bookmark" title="Semantic Scuttle mit Bookmark" />
</a>

<p style="text-align: center;"><small>Semantic Scuttle with the first bookmark</small></p>
<p>You saw, it is quite easy to install Semantic Scuttle. In the next days I will write something about further adjustments of Semantic Scuttle.</p>

<!-- google_ad_section_end -->
]]></content:encoded>
			<wfw:commentRss>http://akeller.eu/en/installation-von-semantic-scuttle-089/feed/</wfw:commentRss>
		<slash:comments>11</slash:comments>
		</item>
	</channel>
</rss>

