Post Reply 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Curl JavaScript bytecodes
06-19-2013, 10:33 PM (This post was last modified: 07-04-2013 03:46 AM by RobertShiplett.)
Post: #1
Curl JavaScript bytecodes
The attached is a screenshot of a Curl page generated at my CentOS VPS server using node.js + express + nunjucks (the latter for templating.)

The Curl applet is a variable in JavaScript whose content is constructed from three parts : a nunjucks template for a curl applet, an scurl file containing the poems and an scurl file containing the text formats to use for this page.

This should give an idea of how easily a Curl xcurl file on the server could implement such an HTTP server.

Once the page has been presented, edits to the scurl files have no impact on the page presented by the server until the server is restarted.

My default extension for the nunjucks template is .ncurl

[Image: node-curl-test31.jpg]

And it is fun, too !

The test URL for the above server-generated Curl document is

Robert Shiplett, Curlr
Fredericton NB

Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 

Possibly Related Threads...
Thread: Author Replies: Views: Last Post
Brick Curl macros introduction (part 1) RobertShiplett 4 6,545 04-25-2015 05:28 PM
Last Post: glennmcgrath
  server-side Curl issue : TocDocument RobertShiplett 3 5,281 02-09-2015 02:11 PM
Last Post: Sumeraxe
  Curl with HTML widget + CintaNotes RobertShiplett 0 4,172 09-08-2014 07:42 AM
Last Post: RobertShiplett
  Curl for the new Kodansh kanji books RobertShiplett 0 2,773 09-07-2014 08:51 PM
Last Post: RobertShiplett
  Curl on Facebook - another page RobertShiplett 0 3,460 02-01-2014 02:29 AM
Last Post: RobertShiplett
  Curl for CoffeeScript folks RobertShiplett 0 4,440 06-29-2013 02:52 AM
Last Post: RobertShiplett
  jinja2 templates for Curl RobertShiplett 0 3,849 06-14-2013 08:33 AM
Last Post: RobertShiplett
  Curl and QNX RobertShiplett 0 4,586 04-24-2013 11:38 PM
Last Post: RobertShiplett
  WikizPad Curl personal wiki RobertShiplett 0 3,838 03-11-2013 01:09 AM
Last Post: RobertShiplett
  Curl as flashcard markup RobertShiplett 1 4,516 03-09-2013 01:58 AM
Last Post: RobertShiplett
Forum Jump:

User(s) 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)
INSERT INTO mybb_threadviews (tid) VALUES('918')