>>===== OPTIONS =====>>
{
    "spoof_institutional_affiliations": true
}
<<===== OPTIONS =====<<

>>===== MODE =====>>
bibliography
<<===== MODE =====<<



>>===== RESULT =====>>
<div class="csl-bib-body">
  <div class="csl-entry">Doe, J., <i>Facebook</i>, 2000. My amazing personal experience. Available at: http://facebook.com/page/address.</div>
  <div class="csl-entry"><i>Facebook</i>, 2000. My amazing institutional experience. Available at: http://facebook.com/page/address.</div>
</div>
<<===== RESULT =====<<


>>===== CSL =====>>
<?xml version="1.1mlz1" encoding="utf-8"?>
<style xmlns="http://purl.org/net/xbiblio/csl" class="in-text" version="1.1mlz1">
   <info>
    <title>Test fixture</title>
    <id>http://citationstyles.org/tests/fixture</id>
    <link href="http://citationstyles.org/tests/fixture" rel="self"/>
    <link href="http://citationstyles.org/documentation/text" rel="documentation"/>
    <category citation-format="author-date"/>
    <updated>2014-04-30T13:19:38+00:00</updated>
    <rights license="http://creativecommons.org/licenses/by-sa/3.0/">This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 License</rights>
  </info>
   <macro name="editor">
      <names variable="editor" delimiter=", ">
         <name and="symbol" initialize-with=". " delimiter=", "/>
         <label form="short" prefix=", " text-case="lowercase" suffix="." strip-periods="true"/>
      </names>
   </macro>
   <macro name="anon">
      <text term="anonymous" form="short" text-case="capitalize-first" strip-periods="true"/>
   </macro>
   <macro name="author">
      <names variable="author">
         <name name-as-sort-order="all" and="symbol" sort-separator=", " initialize-with="." delimiter-precedes-last="never" delimiter=", "/>
         <institution delimiter=", ">
           <institution-part name="long" font-style="italic"/>
	     </institution>
         <label form="short" prefix=" " suffix="." text-case="lowercase" strip-periods="true"/>
         <substitute>
            <names variable="editor"/>
            <text macro="anon"/>
         </substitute>
      </names>
   </macro>
   <macro name="author-short">
      <names variable="author">
         <name form="short" and="symbol" delimiter=", " delimiter-precedes-last="never" initialize-with=". "/>
         <institution delimiter=", " institution-parts="short">
           <institution-part name="short" font-style="italic"/>
           <institution-part name="long" font-style="italic"/>
	     </institution>
         <substitute>
            <names variable="editor"/>
            <names variable="translator"/>
            <text macro="anon"/>
         </substitute>
      </names>
   </macro>
   <macro name="access">
      <group>
         <text value="Available at:" suffix=" "/>
         <text variable="URL"/>
         <group prefix=" [" suffix="]">
            <text term="accessed" text-case="capitalize-first" suffix=" "/>
            <date variable="accessed">
               <date-part name="month" suffix=" "/>
               <date-part name="day" suffix=", "/>
               <date-part name="year"/>
            </date>
         </group>
      </group>
   </macro>
   <macro name="title">
      <choose>
         <if type="bill book graphic legal_case motion_picture report song thesis" match="any">
            <text variable="title" font-style="italic"/>
         </if>
         <else>
            <text variable="title"/>
         </else>
      </choose>
   </macro>
   <macro name="publisher">
      <group delimiter=": ">
         <text variable="publisher-place"/>
         <text variable="publisher"/>
      </group>
   </macro>
   <macro name="year-date">
      <choose>
         <if variable="issued">
            <date variable="issued">
               <date-part name="year"/>
            </date>
         </if>
         <else>
            <text term="no date" form="short"/>
         </else>
      </choose>
   </macro>
   <macro name="edition">
      <choose>
         <if is-numeric="edition">
            <group delimiter=" ">
               <number variable="edition" form="ordinal"/>
               <text term="edition" form="short" suffix="." strip-periods="true"/>
            </group>
         </if>
         <else>
            <text variable="edition" suffix="."/>
         </else>
      </choose>
   </macro>
   <macro name="pages">
      <group>
         <label variable="page" form="short" suffix=" "/>
         <text variable="page"/>
      </group>
   </macro>
   <citation et-al-min="3" et-al-use-first="1" et-al-subsequent-min="3" et-al-subsequent-use-first="1" disambiguate-add-year-suffix="true" disambiguate-add-names="true" disambiguate-add-givenname="true">
      <layout prefix="(" suffix=")" delimiter="; ">
         <group delimiter=", ">
            <group delimiter=" ">
               <text macro="author-short"/>
               <text macro="year-date"/>
            </group>
            <group>
               <label variable="locator" suffix="." form="short" strip-periods="true"/>
               <text variable="locator"/>
            </group>
         </group>
      </layout>
   </citation>
   <bibliography hanging-indent="true" et-al-min="4" et-al-use-first="1">
      <sort>
         <key macro="author"/>
         <key variable="title"/>
      </sort>
      <layout>
         <text macro="author" suffix=","/>
         <date variable="issued" prefix=" " suffix=".">
            <date-part name="year"/>
         </date>
         <choose>
            <if type="bill book graphic legal_case motion_picture report song" match="any">
               <group prefix=" " delimiter=" " suffix=",">
                  <text macro="title"/>
                  <text macro="edition"/>
                  <text macro="editor"/>
               </group>
               <text prefix=" " suffix="." macro="publisher"/>
            </if>
            <else-if type="chapter paper-conference" match="any">
               <text macro="title" prefix=" " suffix="."/>
               <group prefix=" " delimiter=" ">
                  <text term="in" text-case="capitalize-first"/>
                  <text macro="editor"/>
                  <text variable="container-title" font-style="italic" suffix="."/>
                  <text variable="collection-title" suffix="."/>
                  <text variable="event" suffix="."/>
                  <group suffix="." delimiter=", ">
                     <text macro="publisher" prefix=" "/>
                     <text macro="pages"/>
                  </group>
               </group>
            </else-if>
            <else-if type="thesis">
               <group prefix=" " suffix="." delimiter=". ">
                  <text macro="title"/>
                  <text variable="genre"/>
                  <text macro="publisher"/>
               </group>
            </else-if>
            <else>
               <group suffix=".">
                  <text macro="title" prefix=" "/>
                  <text macro="editor" prefix=" "/>
               </group>
               <group prefix=" " suffix=".">
                  <text variable="container-title" font-style="italic"/>
                  <group prefix=", ">
                     <text variable="volume"/>
                     <text variable="issue" prefix="(" suffix=")"/>
                  </group>
                  <group prefix=", ">
                     <label variable="page" suffix="." form="short" strip-periods="true"/>
                     <text variable="page"/>
                  </group>
               </group>
            </else>
         </choose>
         <text prefix=" " macro="access" suffix="."/>
      </layout>
   </bibliography>
</style>

<<===== CSL =====<<


>>===== INPUT =====>>
[
    {
        "id": "ITEM-1",
        "author": [
            {
                "literal": "Facebook"
            }
        ], 
		"title": "My amazing institutional experience",
		"issued": {
			"date-parts": [
				[ 
			  	  2000
				]
			]
		},
		"URL": "http://facebook.com/page/address",
        "type": "webpage"
    },
    {
        "id": "ITEM-2",
        "author": [
            {
                "family": "Doe",
                "given": "John"
            },
            {
                "literal": "Facebook"
            }
        ], 
		"title": "My amazing personal experience",
		"issued": {
			"date-parts": [
				[ 
			  	  2000
				]
			]
		},
		"URL": "http://facebook.com/page/address",
        "type": "webpage"
    }
]
<<===== INPUT =====<<
