Thread: [Cs-rssdb-commits] SF.net SVN: cs-rssdb:[24] trunk/0.1/rssDBClass.php
Status: Abandoned
Brought to you by:
crazedsanity
From: <cra...@us...> - 2008-12-29 19:57:21
|
Revision: 24 http://cs-rssdb.svn.sourceforge.net/cs-rssdb/?rev=24&view=rev Author: crazedsanity Date: 2008-12-29 19:57:17 +0000 (Mon, 29 Dec 2008) Log Message: ----------- Fix article title to use htmlentities. /rssDBClass.php: * parse_file(): -- clean the title using cs_globalFunctions::cleanString() with the "htmlentities_plus_brackets" style (fixes html entities and avoids potential template var substitution problems). Modified Paths: -------------- trunk/0.1/rssDBClass.php This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <cra...@us...> - 2008-12-29 20:09:06
|
Revision: 25 http://cs-rssdb.svn.sourceforge.net/cs-rssdb/?rev=25&view=rev Author: crazedsanity Date: 2008-12-29 20:09:03 +0000 (Mon, 29 Dec 2008) Log Message: ----------- Strip tags before htmlentity'ing the title... /rssDBClass.php: * parse_file(): -- strip tags from title prior to cleaning (The Register puts HTML markup in their titles). Modified Paths: -------------- trunk/0.1/rssDBClass.php This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <cra...@us...> - 2008-12-29 22:31:55
|
Revision: 26 http://cs-rssdb.svn.sourceforge.net/cs-rssdb/?rev=26&view=rev Author: crazedsanity Date: 2008-12-29 22:31:53 +0000 (Mon, 29 Dec 2008) Log Message: ----------- Remove forced debug_print() from get_recent_articles() Modified Paths: -------------- trunk/0.1/rssDBClass.php This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <cra...@us...> - 2009-01-06 17:47:54
|
Revision: 27 http://cs-rssdb.svn.sourceforge.net/cs-rssdb/?rev=27&view=rev Author: crazedsanity Date: 2009-01-06 17:47:52 +0000 (Tue, 06 Jan 2009) Log Message: ----------- Fix problems when inserting data that has non-UTF8 characters. NOTE::: URL from which this regex was adapted (not PHP, that's why it had to be "adapted"): http://forums.devshed.com/asp-programming-51/regex-how-to-remove-non-ascii-characters-from-string-395202.html /rssDBClass.php: * parse_file(): -- clean title, entry_text, and author of any non-UTF8 characters to avoid issues with database insertion. NOTE: this has NOT been very thoroughly tested at all. Modified Paths: -------------- trunk/0.1/rssDBClass.php This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <cra...@us...> - 2009-01-16 16:20:59
|
Revision: 28 http://cs-rssdb.svn.sourceforge.net/cs-rssdb/?rev=28&view=rev Author: crazedsanity Date: 2009-01-16 16:20:56 +0000 (Fri, 16 Jan 2009) Log Message: ----------- For now, the database name it connects to is hard-coded as "cs". NOTE: still need to have a siteConfig system in one of my projects, like cs-content... Modified Paths: -------------- trunk/0.1/rssDBClass.php This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <cra...@us...> - 2009-01-20 06:02:24
|
Revision: 29 http://cs-rssdb.svn.sourceforge.net/cs-rssdb/?rev=29&view=rev Author: crazedsanity Date: 2009-01-20 06:02:14 +0000 (Tue, 20 Jan 2009) Log Message: ----------- Remove arbitrary connect settings, fix some constant prefixes, & better errors. /rssDBClass.php: * __construct(): -- removed arbitrary constant definitions for connectivity. * connect_db(): -- replace CSBLOG_DB_ prefixes with CSRSS_DB_ (that was just code that was apparently copied from the cs-blogger project). -- catch exceptions thrown from connecting so the exception that is actually thrown is a little easier to track down. Modified Paths: -------------- trunk/0.1/rssDBClass.php This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <cra...@us...> - 2009-01-26 00:38:37
|
Revision: 31 http://cs-rssdb.svn.sourceforge.net/cs-rssdb/?rev=31&view=rev Author: crazedsanity Date: 2009-01-26 00:38:34 +0000 (Mon, 26 Jan 2009) Log Message: ----------- Fix requirement for cs_phpxmlParser{}. Modified Paths: -------------- trunk/0.1/rssDBClass.php This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <cra...@us...> - 2009-01-29 22:49:55
|
Revision: 34 http://cs-rssdb.svn.sourceforge.net/cs-rssdb/?rev=34&view=rev Author: crazedsanity Date: 2009-01-29 22:18:34 +0000 (Thu, 29 Jan 2009) Log Message: ----------- Fix references to cs-content libs for cs-content v1.0-ALPHA2 /rssDBClass.php: * MAIN::: -- fix references for cs_phpDB, cs_globalFunctions, and cs_fileSystem. * __construct(): -- fix reference from cs_fileSystemClass{} to cs_fileSystem{} Modified Paths: -------------- trunk/0.1/rssDBClass.php This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <cra...@us...> - 2009-03-27 15:39:38
|
Revision: 42 http://cs-rssdb.svn.sourceforge.net/cs-rssdb/?rev=42&view=rev Author: crazedsanity Date: 2009-03-27 14:54:47 +0000 (Fri, 27 Mar 2009) Log Message: ----------- Handle article updates (#268). /rssDBClass.php: * parse_file(): -- when using a path with a special index (i.e. "attributes"), handle the situation where multiple items exist (if the original path doesn't exist, try changing the path to use the first item before throwing an exception). -- when calling article_exists(), use ONLY the link_to_article field. * article_exists(): -- ARG CHANGE: DELETED ARGS (all) -- ARG CHANGE: NEW ARG: #1 ($linkToArticle) -- search using ONLY the link_to_article value. NOTE: may want to also include the source_id in this query... Modified Paths: -------------- trunk/0.1/rssDBClass.php This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <cra...@us...> - 2009-08-22 22:38:24
|
Revision: 43 http://cs-rssdb.svn.sourceforge.net/cs-rssdb/?rev=43&view=rev Author: crazedsanity Date: 2009-08-22 22:38:10 +0000 (Sat, 22 Aug 2009) Log Message: ----------- Fix location of cs_phpDB{}. Modified Paths: -------------- trunk/0.1/rssDBClass.php This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <cra...@us...> - 2009-09-04 04:51:21
|
Revision: 44 http://cs-rssdb.svn.sourceforge.net/cs-rssdb/?rev=44&view=rev Author: crazedsanity Date: 2009-09-04 04:51:10 +0000 (Fri, 04 Sep 2009) Log Message: ----------- Fix typo for special "__METHOD__" constant (missing a leading "_"); allow "<strong>" tags in rss. Modified Paths: -------------- trunk/0.1/rssDBClass.php This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <cra...@us...> - 2009-09-10 18:18:39
|
Revision: 50 http://cs-rssdb.svn.sourceforge.net/cs-rssdb/?rev=50&view=rev Author: crazedsanity Date: 2009-09-10 18:18:27 +0000 (Thu, 10 Sep 2009) Log Message: ----------- Changes to help with unit testing. /rssDBClass.php: * MAIN::: -- changed $db to public for transactional stuff. -- added internal rssFilesDir var. * __construct(): -- ARG CHANGE: NEW ARG: #1 ($rssFilesDir) -- pass location of files in constructor instead of requiring a constant: helps facilitate testing. -- remove RSS_FILES_DIR as a required constant, add all the constants for database connectivity parameters. -- call connect_db() right away. * parse_all_files(): -- use internal rssFilesDir var instead of constant * parse_file(): -- use internal rssFilesDir var instead of constant * load_schema() [NEW]: -- method for loading the database schema. Modified Paths: -------------- trunk/0.1/rssDBClass.php This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <cra...@us...> - 2009-09-10 18:34:14
|
Revision: 52 http://cs-rssdb.svn.sourceforge.net/cs-rssdb/?rev=52&view=rev Author: crazedsanity Date: 2009-09-10 18:34:06 +0000 (Thu, 10 Sep 2009) Log Message: ----------- Ensure rssFilesDir exists (and set it), remove lots of debugging. /rssDBClass.php: * __construct(): -- make sure directory exists -- set rssFilesDir internally. * parse_all_files(): -- removed some debugging. -- exception gives folder info instead of the obvious number of records parsed. * parse_file(): -- removed some debugging. Modified Paths: -------------- trunk/0.1/rssDBClass.php This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <cra...@us...> - 2009-09-10 19:29:52
|
Revision: 53 http://cs-rssdb.svn.sourceforge.net/cs-rssdb/?rev=53&view=rev Author: crazedsanity Date: 2009-09-10 19:29:42 +0000 (Thu, 10 Sep 2009) Log Message: ----------- Minor changes for unit testing. /rssDBClass.php: * parse_all_files(): -- use a counter to return number of total articles added. * parse_file(): -- use a counter to return number of articles added. -- don't print info about skipped articles. Modified Paths: -------------- trunk/0.1/rssDBClass.php This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <cra...@us...> - 2009-09-10 19:56:34
|
Revision: 55 http://cs-rssdb.svn.sourceforge.net/cs-rssdb/?rev=55&view=rev Author: crazedsanity Date: 2009-09-10 19:56:26 +0000 (Thu, 10 Sep 2009) Log Message: ----------- Change an exception into a printed error (until issue can be fixed). /rssDBClass.php: * parse_file(): -- call cs_globalFunctions::debug_print() instead of throwing an exception if an insert error occurs. Modified Paths: -------------- trunk/0.1/rssDBClass.php This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <cra...@us...> - 2009-09-10 19:59:17
|
Revision: 56 http://cs-rssdb.svn.sourceforge.net/cs-rssdb/?rev=56&view=rev Author: crazedsanity Date: 2009-09-10 19:59:10 +0000 (Thu, 10 Sep 2009) Log Message: ----------- Update to error to (maybe) catch the bug. Modified Paths: -------------- trunk/0.1/rssDBClass.php This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <cra...@us...> - 2009-09-16 15:57:43
|
Revision: 59 http://cs-rssdb.svn.sourceforge.net/cs-rssdb/?rev=59&view=rev Author: crazedsanity Date: 2009-09-16 15:57:37 +0000 (Wed, 16 Sep 2009) Log Message: ----------- Fix retrieval of download list so first time works. /rssDBClass.php: * get_download_list(): -- update query so if it is time-dependent, it will work if the last_downloaded field is NULL. Modified Paths: -------------- trunk/0.1/rssDBClass.php This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <cra...@us...> - 2009-11-17 01:46:58
|
Revision: 63 http://cs-rssdb.svn.sourceforge.net/cs-rssdb/?rev=63&view=rev Author: crazedsanity Date: 2009-11-17 01:46:45 +0000 (Tue, 17 Nov 2009) Log Message: ----------- Fix some PHP warnings/errors. /rssDBClass.php: * parse_file(): -- suppress warnings if an array index doesn't exist. /tests/testOfCSBlogger.php: * __construct(): -- conditionally set some constants to avoid PHP warnings/errors * setUp(): -- only define CSBLOG__DBTYPE if it isn't already. -- when passing CSBLOG__RWDIR, do so using constant(). Modified Paths: -------------- trunk/0.1/rssDBClass.php This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <cra...@us...> - 2010-03-09 19:10:40
|
Revision: 64 http://cs-rssdb.svn.sourceforge.net/cs-rssdb/?rev=64&view=rev Author: crazedsanity Date: 2010-03-09 19:10:34 +0000 (Tue, 09 Mar 2010) Log Message: ----------- Better error when no sources provided. Modified Paths: -------------- trunk/0.1/rssDBClass.php This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <cra...@us...> - 2010-05-21 15:25:24
|
Revision: 65 http://cs-rssdb.svn.sourceforge.net/cs-rssdb/?rev=65&view=rev Author: crazedsanity Date: 2010-05-21 15:25:17 +0000 (Fri, 21 May 2010) Log Message: ----------- Minor change to the details of an exception for clarification. Modified Paths: -------------- trunk/0.1/rssDBClass.php This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |