Complete Data Retrieval, Combinations

Multiple 'layer' parameters can be sent by simply putting a comma between them: 'layer=meta,high' or 'layer=low,high'. This results in all of the data requested being returned in the same line, so you would first split them by a pipe, then a second split by a tilde. The first element of each segment is the layer_code, so inspecting the first four characters will tell you which segment you're working with. Splitting each of these segments by an asterisk will get each of the elements.

NOTE: the order in which the layer strings occur does not affect the output order. 'layer=meta,high' will have the same result as 'layer=high,meta'. The output order is always: Header, Meta, Low Verbosity, High Verbosity

Example Link:

http://api.parfait.snarkybox.com/nasa?feed=breaking_news&layer=head,meta,low&items=3

What that link returns will look like this if viewed in a browser:

hd*nasa***3**breaking_news*head,meta,low*20141116*1120*68.100.18.139*2014.11.16.12~|mt*NASA Breaking News*http://www.nasa.gov/*http://www.nasa.gov/rss/dyn/breaking_news.rss*en-us*A RSS news feed containing the latest NASA news articles and press releases.*jim.wilson@nasa.gov*brian.dunbar@nasa.gov~|lo*00*NASA Opens Registration for 2015 Exploration Rover Challenge*http://www.nasa.gov/press/2014/november/nasa-opens-registration-for-2015-exploration-rover-challenge*Fri, 14 Nov 2014 12:00:00 EDT*http://www.nasa.gov/rss/dyn/breaking_news.rss~lo*01*NASA Commercial Crew Partners Continue System Advancements*http://www.nasa.gov/press/2014/november/nasa-commercial-crew-partners-continue-system-advancements*Fri, 14 Nov 2014 12:00:00 EDT*http://www.nasa.gov/rss/dyn/breaking_news.rss~lo*02*NASA Awards NASA Balloon Operations Contract*http://www.nasa.gov/press/2014/november/nasa-awards-nasa-balloon-operations-contract*Thu, 13 Nov 2014 12:00:00 EDT*http://www.nasa.gov/rss/dyn/breaking_news.rss~|