Skip to content

Instantly share code, notes, and snippets.

@jedahan
Last active August 29, 2015 13:56
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jedahan/9190576 to your computer and use it in GitHub Desktop.
Save jedahan/9190576 to your computer and use it in GitHub Desktop.
<!-- scrapi source : http://scrapi.org/object/61512 -->
<object href="http://www.metmuseum.org/Collections/search-the-collections/503933.xml">
<link rel="terms_of_use" href="http://www.metmuseum.org/information/terms-and-conditions" />
<link rel="source" href="http://www.metmuseum.org/Collections/search-the-collections/503933" />
<title>Guitar</title>
<id>503933</id>
<!-- etc -->
<gallery>684</gallery> <!-- <gallery></gallery> or <gallery>Not on View</gallery> (whichever is easier) if not on view -->
<description>Christian Frederick Martin worked for Johann Georg Stauffer (1778–1853) in Vienna, rising to foreman in the factory and ultimately leaving for New York in 1833, where he set up shop on Hudson Street. He was the founder of C. F. Martin &amp; Co., the company that produced many forms of twentieth-century guitars, including the "Dreadnought." The instrument exhibited here closely resembles the Stauffer guitar (1979.390) in the Museum's collection. This guitar has a one-piece back and sides of bird's-eye maple; the top is spruce. Like the Stauffer guitar, the neck angle can be adjusted with a key mechanism.</description>
</object>
<!-- scrapi source : http://scrapi.org/object/61512 -->
<object href="http://www.metmuseum.org/Collections/search-the-collections/61512.xml">
<link rel="terms_of_use" href="http://www.metmuseum.org/information/terms-and-conditions" />
<link rel="source" href="http://www.metmuseum.org/Collections/search-the-collections/61512" />
<title>Figure</title>
<id>61512</id>
<department>Asian Art</department>
<accession_number>12.134.26</accession_number>
<whats>
<what>Metal</what>
<what>Sculpture</what>
<what>Copper alloy</what>
<what>Bronze</what>
<what>Gilt</what>
<what>Figures</what>
<what>Plate</what>
<what>Ormolu</what>
</whats>
<wheres>
<where>Asia</where>
<where>China</where>
</wheres>
<culture>China</culture>
<medium>Gilt bronze</medium>
<dimensions>H. 6 in. (15.2 cm)</dimensions>
<credit_line>Rogers Fund, 1912</credit_line>
<accession_number>12.134.26</accession_number>
<image>http://images.metmuseum.org/CRDImages/as/original/12_134_26_183323.JPG</image>
<images>
<link rel="related_image" href="http://images.metmuseum.org/CRDImages/as/original/12_134_26_183323.JPG" />
<link rel="related_image" href="http://images.metmuseum.org/CRDImages/as/original/12_134_26_F.JPG" />
<link rel="related_image" href="http://images.metmuseum.org/CRDImages/as/original/12_134_26_230568.JPG" />
<link rel="related_image" href="http://images.metmuseum.org/CRDImages/as/original/12_134_26_230569.JPG" />
<link rel="related_image" href="http://images.metmuseum.org/CRDImages/as/original/12_134_26_230570.JPG" />
</images>
<artworks>
<link rel="related_artwork" href="http://www.metmuseum.org/Collections/search-the-collections/49568" />
<link rel="related_artwork" href="http://www.metmuseum.org/Collections/search-the-collections/49580" />
<link rel="related_artwork" href="http://www.metmuseum.org/Collections/search-the-collections/49581" />
<link rel="related_artwork" href="http://www.metmuseum.org/Collections/search-the-collections/73200" />
<link rel="related_artwork" href="http://www.metmuseum.org/Collections/search-the-collections/61522" />
</artworks>
<exhibitions>
<link rel="exhibition" date="From February 8, 2014" href="http://www.metmuseum.org/exhibitions/listings/2014/tibet-and-india">Tibet and India
<link rel="exhibition" date="From December 11, 2013" href="http://www.metmuseum.org/exhibitions/listings/2013/chinese-carving">Colors of the Universe"
<link rel="exhibition" date="From July 19, 2013" href="http://www.metmuseum.org/exhibitions/listings/2013/chinese-snuff-bottles">Small Delights</link>
<link rel="exhibition" date="From December 11, 2013" href="http://www.metmuseum.org/exhibitions/listings/2013/ink-art">Ink Art: Past as Present in Contemporary China</link>
<link rel="exhibition" date="From February 1, 2014" href="http://www.metmuseum.org/exhibitions/listings/2014/edo-period-painting">The Flowering of Edo Period Painting </link>
<link rel="exhibition" date="From April 14, 2014" href="http://www.metmuseum.org/exhibitions/listings/2014/lost-kingdoms">Lost Kingdoms</link>
</exhibitions>
<events>
<link rel="event" date="February 23, 2014" href="http://www.metmuseum.org/events/programs/lectures-and-panels/free-lectures/what-was-happening-when-this-ink?eid=A001_%7bC469EE38-CB52-4795-A10F-F60EB5F4B66F%7d_20131113203333">What Was Happening When This Ink Art Was Being Done?: The Historical Context</link>
<link rel="event" date="February 24, 2014" href="http://www.metmuseum.org/events/programs/tours/hindu-buddhist-vision?eid=R096_%7b8E55439A-2E4A-4D4C-BB1F-6E65214B9CEF%7d_20140224111500">Hindu and Buddhist Vision in Indian and Southeast Asian Art</link>
<link rel="event" date="February 24, 2014" href="http://www.metmuseum.org/events/programs/tours/arts-of-japan?eid=R096_%7bAD0141EB-9EBA-4409-AA3B-03E5CDE995F7%7d_20140224131500">Arts of Japan</link>
<link rel="event" date="February 25, 2014" href="http://www.metmuseum.org/events/programs/tours/hindu-buddhist-vision?eid=R097_%7b8E55439A-2E4A-4D4C-BB1F-6E65214B9CEF%7d_20140225111500">Hindu and Buddhist Vision in Indian and Southeast Asian Art</link>
<link rel="event" date="February 25, 2014" href="http://www.metmuseum.org/events/programs/tours/arts-of-china?eid=R097_%7bBD6DC2CB-47FF-4108-ABCC-8441E84156DB%7d_20140225120000">Arts of China</link>
<link rel="event" date="February 25, 2014" href="http://www.metmuseum.org/events/programs/tours/arts-of-japan?eid=R097_%7bAD0141EB-9EBA-4409-AA3B-03E5CDE995F7%7d_20140225131500">Arts of Japan</link>
<link rel="event" date="February 26, 2014" href="http://www.metmuseum.org/events/programs/tours/hindu-buddhist-vision?eid=A088_%7b8E55439A-2E4A-4D4C-BB1F-6E65214B9CEF%7d_20131018142404">Hindu and Buddhist Vision in Indian and Southeast Asian Art</link>
<link rel="event" date="February 26, 2014" href="http://www.metmuseum.org/events/programs/tours/arts-of-china?eid=R098_%7bBD6DC2CB-47FF-4108-ABCC-8441E84156DB%7d_20140226120000">Arts of China</link>
<link rel="event" date="February 26, 2014" href="http://www.metmuseum.org/events/programs/tours/arts-of-japan?eid=R098_%7bAD0141EB-9EBA-4409-AA3B-03E5CDE995F7%7d_20140226131500">Arts of Japan</link>
<link rel="event" date="February 27, 2014" href="http://www.metmuseum.org/events/programs/tours/arts-of-china?eid=R099_%7bBD6DC2CB-47FF-4108-ABCC-8441E84156DB%7d_20140227120000">Arts of China</link>
</events>
<toahs>
<link rel="toah" href="http://www.metmuseum.org/toah/ht/?period=05®ion=nc">Central and North Asia, 1–500A.D.</link>
</related_toah>
<link rel="toah" href="http://www.metmuseum.org/toah/ht/?period=05®ion=eac">China, 1–500A.D.</link>
</related_toah>
<link rel="toah" href="http://www.metmuseum.org/toah/ht/?period=06®ion=nc">Central and North Asia, 500–1000 A.D.</link>
</related_toah>
<link rel="toah" href="http://www.metmuseum.org/toah/ht/?period=06®ion=eac">China, 500–1000 A.D.</link>
</related_toah>
</toahs>
</object>
<!-- scrapi source : http://scrapi.org/ids?query=spoon&page=5 -->
<search href="http://www.metmuseum.org/Collections/search-the-collections?rpp=60&pg=5&ft=spoon&format=xml">
<link rel="terms_of_use" href="http://www.metmuseum.org/information/terms-and-conditions" />
<links>
<link rel="first" href="http://www.metmuseum.org/Collections/search-the-collections?rpp=60&pg=1&ft=spoon" />
<link rel="next" href="http://www.metmuseum.org/Collections/search-the-collections?rpp=60&pg=6&ft=spoon" />
<link rel="previous" href="http://www.metmuseum.org/Collections/search-the-collections?rpp=60&pg=4&ft=spoon" />
<link rel="last" href="http://www.metmuseum.org/Collections/search-the-collections?rpp=60&pg={LAST_PAGE_NUMBER_HERE}&ft=spoon" />
</links>
<results>
<link href="http://www.metmuseum.org/Collections/search-the-collections/197686" />
<link href="http://www.metmuseum.org/Collections/search-the-collections/197687" />
<link href="http://www.metmuseum.org/Collections/search-the-collections/197688" />
<link href="http://www.metmuseum.org/Collections/search-the-collections/197690" />
<link href="http://www.metmuseum.org/Collections/search-the-collections/197689" />
<link href="http://www.metmuseum.org/Collections/search-the-collections/192282" />
<link href="http://www.metmuseum.org/Collections/search-the-collections/192299" />
<link href="http://www.metmuseum.org/Collections/search-the-collections/192249" />
<link href="http://www.metmuseum.org/Collections/search-the-collections/192085" />
<link href="http://www.metmuseum.org/Collections/search-the-collections/192084" />
<!-- etc -->
</results>
<search>
@jedahan
Copy link
Author

jedahan commented Feb 24, 2014

I tried to put each http link in a href= attribute, without burying the terms of use link
Everything returned as XML here is meant to be processed by a machine, except for TOU
Otherwise this seems fine to me, based it off of http://gotohal.net/whyhal#embedding and https://blog.apigee.com/detail/api_design_harnessing_hypermedia_types

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment