Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Curl as Kanji dictionary parser
04-26-2012, 01:21 AM, (This post was last modified: 04-26-2012, 01:33 AM by RobertShiplett.)
#1
Curl as Kanji dictionary parser
I have a post at http://lcurlr.blogspot.ca/2012/04/kanjidic2-csv.html to explain the CSV and HTML Kanji pages at http://kanji.aule-browser.com/kanjidic2-m12.html

I have had some minor glitches: the API of one call in the docs example did not match the API shipped for one proc and there are some errors now in the curl.com web pages and at the Curl pages at sourceforge.net (TIP: for the CDK, NEVER use the DOWNLOAD link - always go to Files page instead ...)

The Curl Ext,Misc,CDK and WSDK libraries have made parsing these dictionaries a snap. Very cool. Very little code for exactly what I need. There are numerous features that made using XPath expressions a treat. Top on my list is the as-XDMElement property of an XDMNodeSet. Seond on my list would be the iterators such as
{for elem:XDMElement in resultSet do }

not to overlook being able to dump the parse results as a page in the web browser during dev.

I will try to keep some examples at

http://kanji.aule-browser.com
Robert Shiplett, Curlr
Fredericton NB

Canada
Reply


Possibly Related Threads...
Thread Author Replies Views Last Post
Brick Curl macros introduction (part 1) RobertShiplett 4 6,993 04-25-2015, 05:28 PM
Last Post: glennmcgrath
  server-side Curl issue : TocDocument RobertShiplett 3 5,691 02-09-2015, 02:11 PM
Last Post: Sumeraxe
  Curl with HTML widget + CintaNotes RobertShiplett 0 4,444 09-08-2014, 07:42 AM
Last Post: RobertShiplett
  Curl for the new Kodansh kanji books RobertShiplett 0 3,032 09-07-2014, 08:51 PM
Last Post: RobertShiplett
  Curl on Facebook - another page RobertShiplett 0 3,737 02-01-2014, 02:29 AM
Last Post: RobertShiplett
  joyo kanji desktop app RobertShiplett 1 4,802 07-11-2013, 03:11 PM
Last Post: Brodon
  Curl for CoffeeScript folks RobertShiplett 0 4,758 06-29-2013, 02:52 AM
Last Post: RobertShiplett
  Curl JavaScript bytecodes RobertShiplett 0 4,939 06-19-2013, 10:33 PM
Last Post: RobertShiplett
  jinja2 templates for Curl RobertShiplett 0 4,147 06-14-2013, 08:33 AM
Last Post: RobertShiplett
  Curl and QNX RobertShiplett 0 4,932 04-24-2013, 11:38 PM
Last Post: RobertShiplett
Forum Jump:


Users browsing this thread:
1 Guest(s)

MyBB SQL Error

MyBB has experienced an internal SQL error and cannot continue.

SQL Error:
1017 - Can't find file: 'mybb_threadviews' (errno: 2)
Query:
INSERT INTO mybb_threadviews (tid) VALUES('477')