Skip to content

Instantly share code, notes, and snippets.

@rla
Last active April 11, 2016 15:50
Show Gist options
  • Save rla/078f9fd308374d5e41881250ecb53bff to your computer and use it in GitHub Desktop.
Save rla/078f9fd308374d5e41881250ecb53bff to your computer and use it in GitHub Desktop.
Extraction Expression Evaluator (EEE) for http://stackoverflow.com/questions/tagged/prolog
{
"questions": [
{
"title":"binary search tree in prolog",
"url":"/questions/35714742/binary-search-tree-in-prolog"
},
{
"title":"Just can't import files to my Racket program",
"url":"/questions/35704143/just-cant-import-files-to-my-racket-program"
},
{
"title":"How to access list from prolog Knowledge base",
"url":"/questions/35695421/how-to-access-list-from-prolog-knowledge-base"
},
{
"title":"Understanding how to use arg/3 and univ/2 in Prolog",
"url":"/questions/35691760/understanding-how-to-use-arg-3-and-univ-2-in-prolog"
},
{
"title":"prolog in math - searching the level of node in prolog",
"url":"/questions/35689499/prolog-in-math-searching-the-level-of-node-in-prolog"
},
{
"title":"prolog member predicate: understanding behavior",
"url":"/questions/35688766/prolog-member-predicate-understanding-behavior"
},
{
"title":"Prolog combining predicates",
"url":"/questions/35684337/prolog-combining-predicates"
},
{
"title":"Order of Goals in Pure Prolog",
"url":"/questions/35679996/order-of-goals-in-pure-prolog"
},
{
"title":"how to represent OR function in prolog",
"url":"/questions/35679115/how-to-represent-or-function-in-prolog"
},
{
"title":"Prolog Retract blocks for block world example",
"url":"/questions/35678103/prolog-retract-blocks-for-block-world-example"
},
{
"title":"List structure in Prolog",
"url":"/questions/35677482/list-structure-in-prolog"
},
{
"title":"How to check different between two list integers are greater than or equal to 2?",
"url":"/questions/35673516/how-to-check-different-between-two-list-integers-are-greater-than-or-equal-to-2"
},
{
"title":"Alternatives to Label predicate in prolog",
"url":"/questions/35673107/alternatives-to-label-predicate-in-prolog"
},
{
"title":"Understanding how to use functors in Prolog",
"url":"/questions/35672439/understanding-how-to-use-functors-in-prolog"
},
{
"title":"Prolog, skip adding elements to a list based on rules",
"url":"/questions/35671422/prolog-skip-adding-elements-to-a-list-based-on-rules"
}
]
}
{
"extract": {
"questions": {
"type": "collection",
"selector": "#questions > div",
"extract": {
"url": { "selector": "h3 > a", "attribute": "href" },
"title": { "selector": "h3 > a" }
}
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment