jasondavis / mysqlicious Goto Github PK
View Code? Open in Web Editor NEWAutomatically exported from code.google.com/p/mysqlicious
Automatically exported from code.google.com/p/mysqlicious
MySQLicious A Delicious to MySQL mirroring tool. For documentation, see http://mysqlicious.googlecode.com Copyright (c) 2005-2008, Adam Nolley (nanovivid) All rights reserved. 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 Adam Nolley (nanovivid), 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 HOLDER 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.
Hi,
I had a problem with broken accents in the database.
Delicious outputs in UTF8 just fine, but for some reason, accents were broken,
even with the database in utf8_general_ci.
I forced the collation in the code.
Here's the patch :
--- MySQLicious.old.php 2010-12-28 17:54:03.000000000 +0100
+++ MySQLicious.php 2010-12-28 17:50:36.000000000 +0100
@@ -118,6 +118,9 @@
// connect to the MySQL server and select the database
$this->mysqlLink = mysql_connect($mysqlHost, $mysqlUsername, $msyqlPassword) or die("Could not connect to MySQL server.");
+ mysql_query("SET NAMES 'UTF8'", $this->mysqlLink);
+ mysql_query("SET CHARACTER SET 'UTF8'", $this->mysqlLink);
+ mysql_query("SET COLLATION_CONNECTION='utf8_general_ci'", $this->mysqlLink);
$db = mysql_select_db($mysqlDatabase, $this->mysqlLink) or die("Could not select specified database ($mysqlDatabase).");
}
Original issue reported on code.google.com by sebastien.wains
on 28 Dec 2010 at 4:59
What is the expected output? What do you see instead?
I have more than 1000 bookmarks in my delicious account, but mysqlicious
imports only / exact 1000 bookmarks.
I love this script and it is still running, so it would be nice if, there is a
solution to backup all bookmarks in the mysql database.
Thanks & Best
Original issue reported on code.google.com by [email protected]
on 15 Nov 2012 at 7:50
Mysqlicious does not work with the new Yahoo logins (all new delicious logins
are now yahoo).
http://blog.delicious.com/blog/2009/10/delicious-is-now-about-you-
too.html#comments
HELP!!
Original issue reported on code.google.com by [email protected]
on 17 Nov 2009 at 3:58
What steps will reproduce the problem?
1. Downloaded MySQLicious-1.2.zip
2. Unzip the MySQLicious-1.2.zip file to apache\htdocs\mysqlicious
3. Pasted:
<?php
require "MySQLicious.php";
$delicious = new MySQLicious("localhost", "mysqlicious", "root", "password");
$delicious->mirror("deliciousUser", "deliciousPass", "bookmarks", "web2.0");
?>
as instructed in the project homepage into test.php in the same folder.
Changed deliciousUser, deliciousPass to my real delicious username and password
4. Run: http://localhost/mysqlicious/test.php
What is the expected output?
1. Some data printed in the page.
2. Some data in table "bookmarks" on database "mysqlicious".
What do you see instead?
Just "Delicious API Error:"
What version of the product are you using?
MySQLicious: 1.2
PHP: 5.2.9-1
Apache: 2.2.11
MySQL: 5.0.51b
On what operating system?
Windows XP
Original issue reported on code.google.com by [email protected]
on 13 Jul 2009 at 6:34
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.