Skip to content

Instantly share code, notes, and snippets.

@jacqui
Forked from mikedewar/fcc_open_internet.json
Last active August 29, 2015 14:04
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jacqui/8603503218a6cbd8786c to your computer and use it in GitHub Desktop.
Save jacqui/8603503218a6cbd8786c to your computer and use it in GitHub Desktop.
{
"Blocks": [
{
"Id": "2",
"Type": "tofile",
"Rule": {
"Filename": "doc.json"
},
"Position": {
"X": 409.991455078125,
"Y": 512.991455078125
}
},
{
"Id": "9",
"Type": "queue",
"Rule": null,
"Position": {
"X": 725.9971313476562,
"Y": 582.991455078125
}
},
{
"Id": "3",
"Type": "unpack",
"Rule": {
"Path": ".response.result.doc"
},
"Position": {
"X": 601.9971313476562,
"Y": 417.99713134765625
}
},
{
"Id": "10",
"Type": "ticker",
"Rule": {
"Interval": "500us"
},
"Position": {
"X": 536.9942626953125,
"Y": 493
}
},
{
"Id": "6",
"Type": "parsexml",
"Rule": {
"Path": ".body"
},
"Position": {
"X": 512.9971466064453,
"Y": 335
}
},
{
"Id": "11",
"Type": "map",
"Rule": {
"Additive": false,
"Map": {
"applicant": ".arr[0].str",
"city": ".arr[3].str",
"comment": ".arr[15].str",
"date": ".arr[4].date",
"state": ".arr[13].str",
"zip": ".arr[17].str"
}
},
"Position": {
"X": 829,
"Y": 665.991455078125
}
},
{
"Id": "1",
"Type": "webRequest",
"Rule": {
"BodyPath": ".",
"Headers": {},
"Method": "GET",
"Url": "",
"UrlPath": "."
},
"Position": {
"X": 408.991455078125,
"Y": 222.9943084716797
}
},
{
"Id": "12",
"Type": "tofile",
"Rule": {
"Filename": "comments.json"
},
"Position": {
"X": 927.9971313476562,
"Y": 750.9885864257812
}
},
{
"Id": "4",
"Type": "bang",
"Rule": null,
"Position": {
"X": 194.99713134765625,
"Y": 46
}
},
{
"Id": "14",
"Type": "javascript",
"Rule": {
"MessageIn": "input",
"MessageOut": "output",
"Script": "var urls = [\n \"http://www.fcc.gov/files/ecfs/14-28/14-28-RAW-Solr-1.xml\",\n \"http://www.fcc.gov/files/ecfs/14-28/14-28-RAW-Solr-2.xml\",\n \"http://www.fcc.gov/files/ecfs/14-28/14-28-RAW-Solr-3a.xml\",\n \"http://www.fcc.gov/files/ecfs/14-28/14-28-RAW-Solr-3b.xml\",\n \"http://www.fcc.gov/files/ecfs/14-28/14-28-RAW-Solr-4.xml\",\n \"http://www.fcc.gov/files/ecfs/14-28/14-28-RAW-Solr-5.xml\"\n];\n\noutput = urls\n"
},
"Position": {
"X": 348,
"Y": 98
}
},
{
"Id": "19",
"Type": "unpack",
"Rule": {
"Path": "."
},
"Position": {
"X": 479,
"Y": 138
}
}
],
"Connections": [
{
"Id": "20",
"FromId": "4",
"ToId": "14",
"ToRoute": "in"
},
{
"Id": "18",
"FromId": "9",
"ToId": "11",
"ToRoute": "in"
},
{
"Id": "16",
"FromId": "10",
"ToId": "9",
"ToRoute": "pop"
},
{
"Id": "8",
"FromId": "6",
"ToId": "2",
"ToRoute": "in"
},
{
"Id": "13",
"FromId": "6",
"ToId": "3",
"ToRoute": "in"
},
{
"Id": "15",
"FromId": "11",
"ToId": "12",
"ToRoute": "in"
},
{
"Id": "21",
"FromId": "14",
"ToId": "19",
"ToRoute": "in"
},
{
"Id": "22",
"FromId": "19",
"ToId": "1",
"ToRoute": "in"
},
{
"Id": "7",
"FromId": "1",
"ToId": "6",
"ToRoute": "in"
},
{
"Id": "17",
"FromId": "3",
"ToId": "9",
"ToRoute": "push"
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment