<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.planetoid.info/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=77.185.80.156</id>
	<title>LemonWiki共筆 - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.planetoid.info/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=77.185.80.156"/>
	<link rel="alternate" type="text/html" href="https://wiki.planetoid.info/index.php/Special:Contributions/77.185.80.156"/>
	<updated>2026-04-23T02:34:26Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.39.6</generator>
	<entry>
		<id>https://wiki.planetoid.info/index.php?title=OpenBiblio&amp;diff=8723</id>
		<title>OpenBiblio</title>
		<link rel="alternate" type="text/html" href="https://wiki.planetoid.info/index.php?title=OpenBiblio&amp;diff=8723"/>
		<updated>2010-06-06T14:33:27Z</updated>

		<summary type="html">&lt;p&gt;77.185.80.156: +version 0.6.1&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;OpenBiblio是[[OpenSource for Educators|開放原始碼]]的圖書管理系統。&lt;br /&gt;
&lt;br /&gt;
{{Software version | url=http://freshmeat.net/projects/obiblio/ | software=OpenBiblio | version=0.6.0 }}&lt;br /&gt;
&lt;br /&gt;
== install instruction ==&lt;br /&gt;
* Check the requirement: PHP 4.2+ &amp;amp; MySQL 4.0.12+ &lt;br /&gt;
* Setup the MySQL: {openbiblio}/database_constants.php&lt;br /&gt;
: more on [http://www.iriti.cnr.it/openbiblio/install_instructions.html OpenBiblio Install Instructions]&lt;br /&gt;
* run the  http://localhost/openbiblio/install/index.php&lt;br /&gt;
&lt;br /&gt;
== localization ==&lt;br /&gt;
* copy the {openbiblio}/locale/en to {openbiblio}/locale/en_utf&lt;br /&gt;
* modify the {openbiblio}/locale/en_utf8/metadata.php &amp;lt;pre&amp;gt; &amp;quot;locale_description&amp;quot; =&amp;gt; &amp;quot;English_utf8&amp;quot; &amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
: http://farm2.static.flickr.com/1238/1167678345_7fef04238c.jpg&lt;br /&gt;
: image host on [http://www.flickr.com/photos/planetoid/1167678345/ flickr]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
; Setup the library&lt;br /&gt;
* Click the &#039;&#039;admin&#039;&#039; label&lt;br /&gt;
* login the default admin account&lt;br /&gt;
* click the &#039;&#039;library settings&#039;&#039;&lt;br /&gt;
**  Locale: switch to English_utf8&lt;br /&gt;
**  HTML Charset: modify iso-8859-1 to utf-8&lt;br /&gt;
* click the &#039;&#039;Update&#039;&#039; button&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
; When create DB (for MySQL5)&lt;br /&gt;
SQL:&lt;br /&gt;
&lt;br /&gt;
  create database openbiblio CHARACTER SET utf8 COLLATE utf8_general_ci;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
; Modify PHP source&lt;br /&gt;
&lt;br /&gt;
openbiblio\Query.php&lt;br /&gt;
&lt;br /&gt;
add line: &#039;&#039;&#039;$rc = Query::act( &#039;SET NAMES UTF8&#039; );&#039;&#039;&#039;&lt;br /&gt;
so that all connection will be UTF8&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
  function connect_e() {&lt;br /&gt;
    list($this-&amp;gt;_link, $e) = Query::_connect_e();   &lt;br /&gt;
    &#039;&#039;&#039;$rc = Query::act( &#039;SET NAMES UTF8&#039; );&#039;&#039;&#039;&lt;br /&gt;
    return $e;&lt;br /&gt;
  }&lt;br /&gt;
&lt;br /&gt;
; Modify PHP source (version 0.6.1)&lt;br /&gt;
&lt;br /&gt;
openbiblio\classes\Query.php&lt;br /&gt;
&lt;br /&gt;
add the two lines: &#039;&#039;&#039;mysql_query(&amp;quot;SET CHARACTER SET utf8&amp;quot;);&#039;&#039;&#039; and &#039;&#039;&#039;mysql_query(&amp;quot;SET NAMES utf8&amp;quot;);&#039;&#039;&#039;&lt;br /&gt;
so that all connection will be UTF8&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
  function _connect_e() {&lt;br /&gt;
    static $link;&lt;br /&gt;
    if (!isset($link)) {&lt;br /&gt;
      if (!function_exists(&#039;mysql_connect&#039;)) {&lt;br /&gt;
        return array(NULL, new DbError(&amp;quot;Checking for MySQL Extension...&amp;quot;,&lt;br /&gt;
                           &amp;quot;Unable to connect to database.&amp;quot;,&lt;br /&gt;
                           &amp;quot;The MySQL extension is not available&amp;quot;));&lt;br /&gt;
      }&lt;br /&gt;
      $link = mysql_connect(OBIB_HOST,OBIB_USERNAME,OBIB_PWD);&lt;br /&gt;
      mysql_query(&amp;quot;SET CHARACTER SET utf8&amp;quot;);&lt;br /&gt;
      mysql_query(&amp;quot;SET NAMES utf8&amp;quot;);&lt;br /&gt;
      if (!$link) {&lt;br /&gt;
        return array(NULL, new DbError(&amp;quot;Connecting to database server...&amp;quot;,&lt;br /&gt;
                                       &amp;quot;Cannot connect to database server.&amp;quot;,&lt;br /&gt;
                                       mysql_error()));&lt;br /&gt;
      }&lt;br /&gt;
      $rc = mysql_select_db(OBIB_DATABASE, $link);&lt;br /&gt;
      if (!$rc) {&lt;br /&gt;
        return array(NULL, new DbError(&amp;quot;Selecting database...&amp;quot;,&lt;br /&gt;
                                       &amp;quot;Cannot select database.&amp;quot;,&lt;br /&gt;
                                       mysql_error($link)));&lt;br /&gt;
      }&lt;br /&gt;
    }&lt;br /&gt;
    return array($link, NULL);&lt;br /&gt;
  }&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
; Validation&lt;br /&gt;
* click the &#039;&#039;Cataloging&#039;&#039; label -&amp;gt; &#039;&#039;New Bibliography&#039;&#039;&lt;br /&gt;
* &#039;&#039;add a new Bibliography&#039;&#039; in Chinese&lt;br /&gt;
* &amp;amp; search &#039;&#039;Bibliography Search&#039;&#039; in Chinese&lt;br /&gt;
* Check MySQL DB table biblio, to see if the string store in Chinese. You can use freeware Toad for MySQL to do it.&lt;br /&gt;
* Try again in Simplified Chinese&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
;Reference&lt;br /&gt;
* [http://obiblio.sourceforge.net/index.php/Main/TranslatingOpenBiblio OpenBiblio | Main / TranslatingOpenBiblio browse]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:OSS]] [[Category:Education]]&lt;/div&gt;</summary>
		<author><name>77.185.80.156</name></author>
	</entry>
</feed>