American religious history






skip to content




Your Web browser is not enabled for JavaScript. Some features of WorldCat will not be available.






 















jQuery(document).ready(function() {
jQuery("#q").focus();
});









function makeUtilPageLoadComplete() {
itemId=46240351;
return function() {
utilPageLoadComplete(false, 46240351);
}
}






Your list has reached the maximum number of items. Please create a new list with a new name; move some items to a new or existing list; or delete some items.






Your request to send this item has been completed.











Close

Add a review






Would you also like to submit a review for this item?

 

 



Cancel









Your list has reached the maximum number of items. Please create a new list with a new name; move some items to a new or existing list; or delete some items.





You already recently rated this item.




Your rating has been recorded









jQuery(document).ready(function() {
OWC.socLocal.socPageLoadComplete('',
46240351,
46240351,
false,
false,
'false');
});



jQuery(window).load(function(){

var ajaxBuyingServiceUrl = "/wcpa/servlet/org.oclc.lac.ui.buying.AjaxBuyingLinksServlet";
jQuery("#buyit-section").buyitLinksWidget({'serviceUrl' : ajaxBuyingServiceUrl, 'oclcNumber': 46240351, 'page': 'detail'});

});



function makeBibPageLoadComplete() {

return function() {
bibPageLoadComplete(0, "", 420,
46240351, "0631223215 9780631223214 0631223223 9780631223221",
false,
true,true, false, false);
}
}




American religious history
Preview this item




ClosePreview this item















Checking...



American religious history




































Author: Amanda Porterfield
Publisher: Malden, Mass. : Blackwell Publishers, 2002.
Series:
Blackwell readers in American social and cultural history, 8.
Edition/Format:

  Print book : EnglishView all editions and formats

Summary:


In this historical reader, Amanda Porterfield has gathered nine essays and over 30 primary documents to present a picture of the history of American religion. The book identifies major developments and important controversies, as well as presenting a wide range of beliefs and practices involved.
 Read more...



Rating:


(not yet rated)

0 with reviews - Be the first.


Subjects


  • United States -- Religion.


  • Religion.


  • United States.

  • View all subjects


More like this

  • Similar Items

















jQuery(document).ready(function()
{
jQuery('.dependentChildTable').tableScroll({height:150 });

});




// WMS institutions opening a new window for place hold must reset main page to https as idm will set the pop up to secure,
// and the pop up must refresh the main page to reflect the logged in status
function getLocationAndHideConfirmDiv() {
var protocol = (true == true) ? "https://" : "http://";
var updateParentURL = protocol + location.hostname + (location.port != "" ? ":" + location.port : "") + location.pathname + location.search;
hideConfirmDiv('req_confirmation', true, false, updateParentURL);
}



var GOOGLE_OBJECT = {"oclcno":"46240351", "ISBN1":"0631223215", "language":"en", "ISBN":"0631223215 9780631223214 0631223223 9780631223221", "title":"american-religious-history"};

function makeMaincolPageLoadComplete() {

return function() {
maincolPageLoadComplete(46240351, true, false,
false,
true, true,
false, false, true, false, false, 'https');
}
}









var favnam = "";
var favsym = "";
var refPage = "";
function showaddfavdiv(instname, instsymbol, referPage, privacySetting)
{
if ((instname != null) && (instsymbol != null) && (referPage != null))
{
favnam = instname;
favsym = instsymbol;
if (favsym.startsWith('['))
{
var noffset = favsym.indexOf(',');
if (noffset == -1)
{
noffset = favsym.indexOf(']');
}
if (noffset > 1)
{
favsym = favsym.substring(1, noffset);
}
}
refPage = referPage + 'favorite=' + favsym + '&favoritename=' + encodeURIComponent(favnam);
if ((privacySetting == '') || (privacySetting == 1))
{
document.getElementById("privacy_public").checked = true;
}
else
{
document.getElementById("privacy_private").checked = true;
}

if(document.all){
document.getElementById('favlibname').innerText = instname;
}else{
document.getElementById('favlibname').textContent = instname;
}

document.getElementById('addfavdiv').style.display = 'block';
}
}
function doSaveFavorite()
{
if (document.getElementById('privacy_public').checked)
{
document.getElementById('favliblink').href = refPage + '&privacy=public';
}
else
{
document.getElementById('favliblink').href = refPage + '&privacy=private';
}

document.location = document.getElementById('favliblink').href;

closediv();
return true;
}

function closediv()
{ document.getElementById('addfavdiv').style.display = "none"; }


div.fav-fixed {
position:fixed;
z-index: 100;
top:50%;
left:50%;
margin:-100px auto auto -150px;
}



div.fav-fixed{position: absolute;
top:expression(eval(document.compatMode &&
document.compatMode=='CSS1Compat') ?
document.documentElement.scrollTop
+((document.documentElement.clientHeight-this.clientHeight)/2)
: document.body.scrollTop
+((document.body.clientHeight-this.clientHeight)/2));
}
div.fav-select-free iframe{
position:absolute;
top:0;
left:0;
z-index=-1
filter:mask();
width:450px;
min-height:220px;

}
}




Close

Add library to Favorites







Please choose whether or not you want other users to be able to see on your profile that this library is a favorite of yours.











Save   
Cancel








Find a copy in the library




&AllPage.SpinnerRetrieving; Finding libraries that hold this item...













Details













































Genre/Form: Aufsatzsammlung
Document Type: Book
All Authors / Contributors:
Amanda Porterfield
ISBN: 0631223215 9780631223214 0631223223 9780631223221
OCLC Number: 46240351
Description: xiv, 338 pages ; 24 cm.
Contents: pt. I. Historical Essays --

1. Errand into the Wilderness / Perry Miller --

2. Exchanging Selves, Exchanging Souls: Contact, Combination, and American Religious History / Catherine L. Albanese --

3. Shouting Methodists / Ann Taves --

4. Protestantism as Establishment / William R. Hutchison --

5. American Fundamentalism: The Ideal of Femininity / Randall Balmer --

6. Catholicism and American Culture: Strategies for Survival / Jay P. Dolan --

7. Conservative Judaism / Gerson D. Cohen --

8. "Introduction," the Faces of Buddhism in America / Charles S. Prebish --

9. Striving for Muslim Women's Human Rights --

Before and Beyond Beijing: An African American Perspective / Gwendolyn Zoharah Simmons --

pt. II. Primary Documents --

10. A Model of Christian Charity (1630) / John Winthrop --

11. Examination of Mrs. Anne Hutchinson (1637) --

12. A Key into the Language of America (1643) / Roger Williams --

13. Poems (1640-1665) / Anne Bradstreet --

14. The Nature of True Virtue (1765) / Jonathan Edwards --

15. Act for Establishing Religious Freedom (1779) / Thomas Jefferson --

16. The Code of Handsome Lake (Ca. 1800) / Edward Cornplanter --

17. What a Revival of Religion is (1834) / Charles Grandison Finney --

18. The Life and Religious Experience of Jarena Lee (1836) / Jarena Lee --

19. Nature (1836) / Ralph Waldo Emerson --

20. Poems (1863-1864) / Emily Dickinson --

21. The American Republic: Its Constitution, Tendencies, and Destiny (1865) / Orestes Brownson --

22. Our Country's Place in History (1869) / Isaac M. Wise --

23. Pre-Existence of Our Spirits (1872) / Orson Pratt --

24. Science and Health with Key to the Scriptures (1875) / Mary Baker Eddy --

25. A Function of the Social Settlement (1899) / Jane Addams --

26. The Varieties of Religious Experience (1902) / William James --

27. The Scofield Reference Bible (1909) --

28. Christianity and Liberalism (1923) / J. Gresham Machen --

29. From Union Square to Rome (1939) / Dorothy Day --

30. The Future of the American Jew (1948) / Mordecai M. Kaplan --

31. "Foreword," the Sacred Pipe (1953) / Black Elk --

32. "Sunflower Sutra" (1955) and "Kaddish" (1958) / Allen Ginsberg --

33. Nonviolence and Racial Justice (1957) / Martin Luther King, Jr. --

34. God's Judgment of White America (1963) / Malcolm X --

35. "Preface," the Protestant Establishment (1964) / E. Digby Baltzell --

36. Religious Freedom (1966) / John Courtney Murray --

37. Beyond God the Father (1973) / Mary Daly --

38. Ceremony (1977) / Leslie Marmon Silko --

39. "American Indian Religious Freedom," Public Law 95-341 (1978) --

40. Sexism and God-Talk (1983) / Rosemary Radford Ruether --

41. The Voice of Sarah (1990) / Tamar Frankiel --

42. Thoughts Without a Thinker (1995) / Mark Epstein --

43. Active Faith (1996) / Ralph Reed.
Series Title:
Blackwell readers in American social and cultural history, 8.
Responsibility: edited by Amanda Porterfield.
More information:






Reviews




jQuery(document).ready(
function() {
OWC.reviews.init({
platformPage : true,
reviewsEnabled : true,
buyItLink : true,
isLdapAuthenticate : false,
ISBN : "0631223215 9780631223214 0631223223 9780631223221",
baseOCLCNo : "46240351",
recordID : "46240351"
})
OWC.reviews.getAllReviews();
}

);

Editorial reviews







Publisher Synopsis



"Porterfield calls attention to certain continuing touchstones underlying all the enormous variety of patterns and traits in major religious traditions and movements, each shaped by cultural modifiers. This is a 'reader' with an interpretive point, an abundant and lively but directed collection." Rowland A. Sherrill, Indiana University / Purdue University "This collection of well-chosen primary sources and essays by major scholars illuminates the diversity of the American religious experience in its historical development as well as its contemporary manifestations. It will undoubtedly become a widely-used resource in teaching about American religious history." Peter W. Williams, Miami University "Porterfield has skillfully constructed this wide-ranging collection of historical essays and documents to demonstrate how the American religious experience has manifested over time both an amazing diversity and an underlying thematic unity." Ava Chamberlain, Wright State University "I enjoyed reading this book; I found the selections interesting and challenging and I believe students would as well. Porterfield has written her introductions to each section fairly and with integrity. This is a fine reader, with the potential to raise important questions about both religious history and personal belief." H-Net Reviews
Read more...



 








User-contributed reviews




Be the first.






Be the first.




Retrieving GoodReads reviews...





Retrieving DOGObooks reviews...







qm_create(0,false);




Tags






Be the first.









Similar Items




Related Subjects:(6)




  • United States -- Religion.


  • Religion.


  • United States.


  • Godsdienst.


  • Geschichte.


  • USA.













Confirm this request







You may have already requested this item. Please select Ok if you would like to proceed with this request anyway.

















Linked Data



More info about Linked Data




Primary Entity


http://www.worldcat.org/oclc/46240351> # American religious history

    a
schema:Book, schema:CreativeWork ;
   
library:oclcnum "46240351" ;
   
library:placeOfPublication http://id.loc.gov/vocabulary/countries/mau> ;
   
library:placeOfPublication http://experiment.worldcat.org/entity/work/data/766020067#Place/malden_mass> ; # Malden, Mass.

   
schema:about http://experiment.worldcat.org/entity/work/data/766020067#Place/usa> ; # USA.

   
schema:about http://id.loc.gov/authorities/classification/BL2525> ;
   
schema:about http://experiment.worldcat.org/entity/work/data/766020067#Topic/godsdienst> ; # Godsdienst

   
schema:about http://id.worldcat.org/fast/1204155> ; # United States.

   
schema:about http://experiment.worldcat.org/entity/work/data/766020067#Place/united_states> ; # United States

   
schema:about http://experiment.worldcat.org/entity/work/data/766020067#Topic/geschichte> ; # Geschichte

   
schema:about http://dewey.info/class/200.973/e21/> ;
   
schema:about http://id.worldcat.org/fast/1093763> ; # Religion

   
schema:bookFormat bgn:PrintBook ;
   
schema:contributor http://viaf.org/viaf/215758754> ; # Amanda Porterfield

   
schema:datePublished "2002" ;
   
schema:exampleOfWork http://worldcat.org/entity/work/id/766020067> ;
   
schema:genre "Aufsatzsammlung"@en ;
   
schema:inLanguage "en" ;
   
schema:isPartOf http://experiment.worldcat.org/entity/work/data/766020067#Series/blackwell_readers_in_american_social_and_cultural_history> ; # Blackwell readers in American social and cultural history ;

   
schema:name "American religious history"@en ;
   
schema:productID "46240351" ;
   
schema:publication http://www.worldcat.org/title/-/oclc/46240351#PublicationEvent/malden_mass_blackwell_publishers_2002> ;
   
schema:publisher http://experiment.worldcat.org/entity/work/data/766020067#Agent/blackwell_publishers> ; # Blackwell Publishers

   
schema:workExample http://worldcat.org/isbn/9780631223214> ;
   
schema:workExample http://worldcat.org/isbn/9780631223221> ;
   
umbel:isLike http://bnb.data.bl.uk/id/resource/GBA231130> ;
   
wdrs:describedby http://www.worldcat.org/title/-/oclc/46240351> ;
    .






Related Entities


http://dewey.info/class/200.973/e21/>
    a
schema:Intangible ;
    .




http://experiment.worldcat.org/entity/work/data/766020067#Agent/blackwell_publishers> # Blackwell Publishers

    a
bgn:Agent ;
   
schema:name "Blackwell Publishers" ;
    .




http://experiment.worldcat.org/entity/work/data/766020067#Place/malden_mass> # Malden, Mass.

    a
schema:Place ;
   
schema:name "Malden, Mass." ;
    .




http://experiment.worldcat.org/entity/work/data/766020067#Place/united_states> # United States

    a
schema:Place ;
   
schema:name "United States" ;
    .




http://experiment.worldcat.org/entity/work/data/766020067#Place/usa> # USA.

    a
schema:Place ;
   
schema:name "USA." ;
   
schema:sameAs http://d-nb.info/gnd/4078704-7> ;
    .




http://experiment.worldcat.org/entity/work/data/766020067#Series/blackwell_readers_in_american_social_and_cultural_history> # Blackwell readers in American social and cultural history ;

    a
bgn:PublicationSeries ;
   
schema:hasPart http://www.worldcat.org/oclc/46240351> ; # American religious history

   
schema:name "Blackwell readers in American social and cultural history ;" ;
    .




http://experiment.worldcat.org/entity/work/data/766020067#Topic/geschichte> # Geschichte

    a
schema:Intangible ;
   
schema:name "Geschichte"@en ;
    .




http://experiment.worldcat.org/entity/work/data/766020067#Topic/godsdienst> # Godsdienst

    a
schema:Intangible ;
   
schema:name "Godsdienst"@en ;
    .




http://id.loc.gov/authorities/classification/BL2525>
    a
schema:Intangible ;
    .




http://id.loc.gov/vocabulary/countries/mau>
    a
schema:Place ;
   
dcterms:identifier "mau" ;
    .




http://id.worldcat.org/fast/1093763> # Religion

    a
schema:Intangible ;
   
schema:name "Religion"@en ;
    .




http://id.worldcat.org/fast/1204155> # United States.

    a
schema:Place ;
   
schema:name "United States." ;
    .




http://viaf.org/viaf/215758754> # Amanda Porterfield

    a
schema:Person ;
   
schema:birthDate "1947" ;
   
schema:familyName "Porterfield" ;
   
schema:givenName "Amanda" ;
   
schema:name "Amanda Porterfield" ;
    .




http://worldcat.org/isbn/9780631223214>
    a
schema:ProductModel ;
   
schema:isbn "0631223215" ;
   
schema:isbn "9780631223214" ;
    .




http://worldcat.org/isbn/9780631223221>
    a
schema:ProductModel ;
   
schema:isbn "0631223223" ;
   
schema:isbn "9780631223221" ;
    .




http://www.worldcat.org/title/-/oclc/46240351>
    a
genont:InformationResource, genont:ContentTypeGenericResource ;
   
schema:about http://www.worldcat.org/oclc/46240351> ; # American religious history

   
schema:dateModified "2018-12-21" ;
   
void:inDataset http://purl.oclc.org/dataset/WorldCat> ;
    .




http://www.worldcat.org/title/-/oclc/46240351#PublicationEvent/malden_mass_blackwell_publishers_2002>
    a
schema:PublicationEvent ;
   
schema:location http://experiment.worldcat.org/entity/work/data/766020067#Place/malden_mass> ; # Malden, Mass.

   
schema:organizer http://experiment.worldcat.org/entity/work/data/766020067#Agent/blackwell_publishers> ; # Blackwell Publishers

   
schema:startDate "2002" ;
    .






Content-negotiable representations




  • Turtle (text/turtle)


  • JSON-LD (application/ld+json)


  • RDF/XML (application/rdf+xml)


  • N-TRIPLES (text/plain)


  • HTML+RDFa (text/html)







jQuery(document).ready( function () {

findLibs('','','','','pgload=','','');

});

function findLibsWhenExpanded(){
if(jQuery('#donelocator').html().length ==0){

findLibs('','','','','pgload=','','');

}
}

function findLibs(loc, start_holding, ht, format, pgload, group, ll)
{
var ajaxLocatorServiceUrl = "/wcpa/servlet/org.oclc.lac.ui.ajax.ServiceServlet?";

var inp = document.getElementById("inplocator");
if(inp) inp.style.display= 'inline';

ajaxLocatorServiceUrl += "wcoclcnum="+46240351;
if(loc != null && loc.length>0){
ajaxLocatorServiceUrl += "&loc="+encodeURIComponent(loc);
}
if(ll != null && ll.length>0){
ajaxLocatorServiceUrl += "&ll="+encodeURIComponent(ll);
}
if(start_holding != null){
ajaxLocatorServiceUrl += "&start_holding="+start_holding;
}
if(ht != null && ht.length>0){
ajaxLocatorServiceUrl += "&ht="+ht;
}
if(format != null && format.length>0){
ajaxLocatorServiceUrl += "&format="+format;
}
if(group != null && group.length>0){
ajaxLocatorServiceUrl += "&segroup="+group;
}
if(false){
ajaxLocatorServiceUrl += "&ip=";
}
if(pgload != null){
ajaxLocatorServiceUrl += "&"+pgload;
}
OWC.UTIL.ajax(ajaxLocatorServiceUrl, {serviceCommand: 'holdingsdata'}, function(data) {
jQuery('#donelocator').html(data);
setPopupDivs();
inp.style.display= 'none';



});
}

function setPopupDivs(){
//call the javascript now
// dropdowncontent.init("libsdisplay-num", "right-bottom", 100, "click")
// var edit = document.getElementById("libsdisplay-edit");
// if(edit) {dropdowncontent.init("libsdisplay-edit", "left-bottom", 100, "click");}

var form = document.getElementById("libsdisplay-form");
if(form) {dropdowncontent.init("libsdisplay-form", "left-bottom", 100, "click");}


var format = document.getElementById("lib-formats-pop01");
if(format) dropdowncontent.init("lib-formats-pop01", "left-bottom", 100, "click");

format = document.getElementById("lib-formats-pop02");
if(format) dropdowncontent.init("lib-formats-pop02", "left-bottom", 100, "click");

format = document.getElementById("lib-formats-pop03");
if(format) dropdowncontent.init("lib-formats-pop03", "left-bottom", 100, "click");

format = document.getElementById("lib-formats-pop04");
if(format) dropdowncontent.init("lib-formats-pop04", "left-bottom", 100, "click");

format = document.getElementById("lib-formats-pop05");
if(format) dropdowncontent.init("lib-formats-pop05", "left-bottom", 100, "click");

format = document.getElementById("lib-formats-pop06");
if(format) dropdowncontent.init("lib-formats-pop06", "left-bottom", 100, "click");

format = document.getElementById("lib-formats-pop07");
if(format) dropdowncontent.init("lib-formats-pop07", "left-bottom", 100, "click");

format = document.getElementById("lib-formats-pop08");
if(format) dropdowncontent.init("lib-formats-pop08", "left-bottom", 100, "click");

format = document.getElementById("lib-formats-pop09");
if(format) dropdowncontent.init("lib-formats-pop09", "left-bottom", 100, "click");

format = document.getElementById("lib-formats-pop10");
if(format) dropdowncontent.init("lib-formats-pop10", "left-bottom", 100, "click");
}

function loadtags(tagid)
{
var value = document.getElementById('tags_'+tagid).innerHTML;
var ctrl = document.getElementById('TagEntry');
var text = ctrl.value;
value = value.replace('&','&');
//value = value.replace('&amp','&');
if(text == ""){
text = text + trimAll(value);
}
else{
text = text + "," + trimAll(value);
}

document.getElementById('TagEntry').value = text;
var pos = ctrl.value.length;

if(ctrl.setSelectionRange){
ctrl.focus();
ctrl.setSelectionRange(pos,pos);
}else
if (ctrl.createTextRange) {
var range = ctrl.createTextRange();
range.collapse(true);
range.moveEnd('character', pos);
range.moveStart('character', pos);
range.select();
}
document.getElementById('TagEntry').focus();
}


var inp;


function addTagsToItem_TagsSection(){
// Close everything that could've been open.
if (document.getElementById('tag_added_confirm_msg')) document.getElementById('tag_added_confirm_msg').style.display = "none";
document.getElementById('error_entertagsandapply_tagsection').style.display = "none";
document.getElementById('savetagerror_tagsection').style.display = "none";

var data = document.getElementById('TagEntry').value;

// Remove all blanks from front and end (can't seem to find a trim() function)
while(data.substr(0,1) == " ")
data = data.substr(1,data.length);
if (data.length > 0)
{
while(data.substr(data.length - 1,1) == " ")
data = data.substr(0,data.length - 1);
}

/// Nothing left? display error
if (data.length == 0)
{
document.getElementById('error_entertagsandapply_tagsection').style.display = "block";
return false;
}

// var legalChars = /^[w|&|-|'|s|,]*$/; // include letters,digits,underscore,hyphen,ampersand,apostophe & Space
var illegal = /[.><?/+=)(*^%#@!~`:;[]{}\¡¿©®™¢£"'""«»—°±¼½¾×÷???¤†‡±¶§‰™¬...•º°]/;

var splitData = data.split(',');
var validCount = 0;
for(var i=0; i 0)
{
while(splitData[i].substr(splitData[i].length - 1,1) == " ")
splitData[i] = splitData[i].substr(0,splitData[i].length - 1);
}
if(splitData[i].length > 75)
{
document.getElementById('savetagerror_tagsection').style.display = "block";
return false;
}
if(splitData[i].match(illegal))
{
document.getElementById('savetagerror_tagsection').style.display = "block";
return false;
}
if (splitData[i].length > 0)
{
validCount++;
}
}

// If there was just a bunch of commas (no tags with length > 0)
if (validCount == 0)
{
document.getElementById('error_entertagsandapply_tagsection').style.display = "block";
return false;
}
return true;
}

function doLoginForAddFav(name, symbol)
{
showLoginPopupDiv('Add library to Favorites',
'to add a Favorite Library.',
'https://www.worldcat.org/account/?page=login&redirect=/oclc/46240351?dofavlib=true&favsymb=' + symbol + '&favname=' + name + '#borrow');
return false;
}

function doLoginForTags()
{
var theLink = "https://www.worldcat.org/account/46240351?page=login&ref=" + encodeURIComponent(location.href) + "#tags";
showLoginPopupDiv('Create tags',
'to create tags.',
theLink);
return false;
}














div.fixed{position: absolute;
top:expression(eval(document.compatMode &&
document.compatMode=='CSS1Compat') ?
documentElement.scrollTop
+((documentElement.clientHeight-this.clientHeight)/2)
: document.body.scrollTop
+((document.body.clientHeight-this.clientHeight)/2));
}
div.select-free iframe{
position:absolute;
display:block;
top:0;
left:0;
z-index=-1
filter:mask();
width:450px;
min-height:220px;

}

}








Close Window















Please sign in to WorldCat 


Don't have an account? You can easily create a free account.




























Cancel

Forgot your password?





















var facet = getCookie("LAC-User-FacetedQuery");
if(facet){
jQuery('.ft_limiter_checkbox').each(function(){
this.checked = facet.indexOf("kb:")>-1;
});
}






/*
* 3rd-party JavaScript library Dynamic Drive Terms of Use require the notice below within the script tag that refers to the .js file.
* A 3rd-party tool is being used to generate the script tags, and it does not support inline comments,
* so the notice is placed here.
*/

/***********************************************
* Accordion Content script
* Drop Down / Overlapping Content script
* all � Dynamic Drive (www.dynamicdrive.com)
* This notice MUST stay intact for legal use.
* Visit Dynamic Drive at http://www.dynamicdrive.com/ for full source code.
***********************************************/

//dropdowncontent.init("util-sms", "left-bottom", 100, "click")
dropdowncontent.init("util-em", "left-bottom", 100, "click")
dropdowncontent.init("util-cite", "left-bottom", 100, "click")



//dropdowncontent.init("util-ask", "left-bottom", 100, "click")

dropdowncontent.init("util-pl", "left-bottom", 100, "click")



dropdowncontent.init("soc-list", "right-bottom", 100, "click", function(){
onOpenCloseLists();
})

dropdowncontent.init("item-preview", "right-top", 100, "click")

//dropdowncontent.init("help-what", "left-bottom", 100, "click")

//dropdowncontent.init("util-srchscope", "left-bottom", 100, "click")

function addItemToList(id)
{
var lists = jQuery("#target_list")[0];
var selected = lists.selectedIndex;
if(selected < 0) {
OWC.UTIL.log("You didn't actually select anything (" + selected + ")");
return;
}
var listname = lists.options[selected].value;


var loggedIn = false;


if (loggedIn)
{
var url = "/webservices/root/process/lists?listAjax=item_ajax&target=" + listname + "&add_to_list=Save&itemid=" + id;
document.getElementById('add_to_list_button').disabled=true;
document.getElementById('create_list_button').disabled=true;

OWC.UTIL.ajax({ url: url,
method: 'GET',
dataType: "json",
success: addItemToListSuccess
});
}
else
{
var url = encodeURIComponent(location.href);
showLoginPopupDiv('Save to a list','to save items to a list','https://www.worldcat.org/account/?page=login&ref=' + url);
}
}

function addItemToNewList(id)
{
var listname = encodeURIComponent(document.getElementById("soc_list_name").value);


var loggedIn = false;


var privacy = "public";
var privacyFlag = document.getElementById('soc-list-newprivacy-pri').checked;
if (privacyFlag == true)
{
privacy = "private";
}

if (loggedIn)
{
var url = "/webservices/root/process/lists?listAjax=item_DRR&sourceaction=add&listname=" + listname + "&create_list=create&privacy=" + privacy + "&itemid=" + id;
document.getElementById('add_to_list_button').disabled=true;
document.getElementById('create_list_button').disabled=true;

// AJAX call.
OWC.UTIL.ajax({
method: 'GET',
url: url,
dataType: "json",
success: addItemToListSuccess
});
}
else
{
var url = encodeURIComponent(location.href);
showLoginPopupDiv('Save to a list','to save items to a list','https://www.worldcat.org/account/?page=login&ref=' + url);
}
}

function clearListDivFields()
{
$('div_list_new_error').innerHTML = "";
$('div_list_new_error').style.display = "none";

document.getElementById('soc-list-newprivacy-pri').checked = false;
document.getElementById('soc-list-newprivacy-pub').checked = true;
var list = document.getElementById("target_list");
if (list != null)
{
list.selectedIndex = "";
}
}

function closeListDiv()
{
var div = document.getElementById("soc-list-sub");
if (div == null)
{
dropdowncontent.hidediv('util-list-sub');
}
else
{
dropdowncontent.hidediv('soc-list-sub');
}
}

function onListDivClose()
{
clearListDivFields();
document.getElementById("soc_list_name").value = "";
document.getElementById('add_to_list_button').disabled=false;
document.getElementById('create_list_button').disabled=false;
closeListDiv();
}

function addItemToListSuccess(message, json)
{
OWC.UTIL.log("ajaxlists.jsp::addItemToListSuccess - start");
clearListDivFields();
if (message[0] == "success")
{
var printMessage = 'This item has been added to your list [list_name].';
printMessage = printMessage.replace("[list_link]", message[1]);
printMessage = printMessage.replace("[list_name]", message[2]);
document.getElementById("soc_list_name").value = "";

var id = message[3];
if(id != null)
{
var name = message[2];
name = name.replace("´", "'");
var opt = new Option(name, id);
document.getElementById("target_list").add(opt,undefined);
}

$('list_message').style.display = "block";
$('div_list_success').style.display = "block";
$('div_list_error').style.display = "none";
$('span_success_list_link').innerHTML = printMessage;
closeListDiv();
}
else if (message[0] == "error")
{
$('list_message').style.display = "block";
$('div_list_error').style.display = "block";
$('div_list_success').style.display = "none";
closeListDiv();
}
else if (message[0] == "errorDRR")
{
$('div_list_new_error').style.display = "block";
if (message[1] == 'duplicate')
$('div_list_new_error').innerHTML = "Each list you create must have a unique name. Please enter a different list name.";
else if (message[1] == 'noname')
$('div_list_new_error').innerHTML = "Please provide a name for your list.";
else if(message[1] == 'toolong')
$('div_list_new_error').innerHTML = "Your list name must be less than 75 characters long. Please enter a different list name.";

}
else if (message[0] == "redirect")
{
window.location.href = message[1];
}
else if (message[0] == "login")
{
window.location.href = "/webservices/root/process/lists?listAjax=item_detailed&target=" + message[1] + "&add_to_list=Save&itemid=" + message[2];
}

// unblock button
document.getElementById('add_to_list_button').disabled=false;
document.getElementById('create_list_button').disabled=false;
}

var ajaxServiceUrl = "/wcpa/servlet/org.oclc.lac.ui.ajax.ServiceServlet";
var userLists = null;
function onOpenCloseLists()
{

var loggedIn = false;


if (loggedIn)
{
if (userLists == null)
{
userLists = getLists('soc-list-txt');
}
}
else
{
var url = encodeURIComponent(location.href);
showLoginPopupDiv('Save to a list','to save items to a list','https://www.worldcat.org/account/?page=login&ref=' + url);
}
}

function getLists(id)
{
OWC.UTIL.log("ajaxlists.jsp::getLists - start");
OWC.UTIL.ajax({
url: ajaxServiceUrl,
data: {serviceCommand: 'getLists'},
dataType: "json",
success: function(lists) {
if (lists != null)
{
document.getElementById(id).innerHTML = lists.listsHTML;
}
}
});
return (document.getElementById(id).innerHTML);
}



qm_create(0,false);

Popular posts from this blog

Florida Star v. B. J. F.

Danny Elfman

Lugert, Oklahoma