• Resolved matthewboh

    (@matthewboh)


    Looks great, but I’m a little confused. What I would like to do is create a list of bibiliographies. For example, I would like to create a Page called “Photography” – then have a list of the entries that are either tagged “Photography” or “Photographer”

    Would look kind of like:

    Dating old photographs, 1840-1929. Toronto, Ont.; Lewiston, NY: Family Chronicle, 2000. 96 p.
    TR147 .D37 2000

    Ethics, copyright, and the bottom line: a symposium on digital technologies and professional photography. Camden, ME: The Center, The Company, c1992. 94 p.
    TR147 .E84 1992

    Photographs objects histories: on the materiality of images. London; New York: Routledge, 2004. xi, 222 p.
    GN34.3.P45 P48 2004

    Abbot, Willis John. Panama and the canal in picture and prose. New York: Syndicate Pub. Co., 1913. 1 p. l., 412 p.
    F1564 .A13*

    Then I would like to link to a full description of the book with an excerpt and an affiliate link to Amazon.

    Is this possible?

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Benjamin Sommer

    (@benjaminsommer)

    To create a list of bibliographies, do one of the following:

    1. Enable Option “Auto append Table of Bibliography”
    Go to Netblog > General Settings > Citations > Table of Bibliography and make sure the option “Enable and automatically append Table of Bibliography for each article.” is checked.

    2. Use Reference Maker
    Go to the page where you edit your post for which you want to create a list of bibliographyies. In the metabox titled “Reference Maker”, choose the wizard Tables > Bibliography. In case you get the message “Current Setting: Auto append Table of Bibliographies”, method 1 above has been activated and you don’t have to proceed. Otherwise, you may choose a citation style and a headline and then click on the textarea below titled “Copy & Paste” – a WordPress shortcode will be generated: copy this and paste it into your article, where you want your list to appear. Note that only bibliographic reference above will be listed!

    3. Type shortcode manually (advanced)
    Optionally, you may type the correct shortcode in your article manually, as long as the syntax is valid. If you are not familiar with it, use method 1 or 2 above. The correct syntax looks like this:

    [nbcite print=”default”]
    [nbcite print_headline=”References” print=”default” ]
    [nbcite print_headline=”References” print=”apa” ]

    Note that the print value may be like default, apa, mla, turabian, chicago, harvard or the name of your custom style.

    (as of Netblog v2.06)

    To create excerpts for bibliographic references, use the metabox “Bibliography” when you edit your posts.

    Affiliate links (to wherever) are not supported in v2.06.

    Thread Starter matthewboh

    (@matthewboh)

    I seem to be missing something. I try and put in a Page (Here’s an example) – https://impari.gotdns.org:81/wordpress/?page_id=156

    I understand how to put the citations in – but I seem to be having a very difficult time to figure out how to populate the bibliography. For example, I’ve tried to put three different books in, but it only saves and displays the last one. Here’s an example of the code that I have in that page from above

    [nbcite print_headline=”References” print=”default” ]

    [nbcite refID=”2″ refName=”Reference Name” type=”book” year=”2011″ title=”Stuart\’s Tarheels: James B. Gordon and His North Carolina Cavalry in the Civil War” publisher=”McFarland and Sons, Inc.” publisher_place=”NY” author=”Chris J. Hartley”]

    [nbcite refID=”2″ refName=”Reference Name” type=”book” year=”2011″ title=”Military Ballooning During the Early Civil War” volume=”X” publisher=”National Geographic” publisher_place=”DC” author=”Christopher Duggins” city=”Baltimore” pages=”2011″]

    How do I populate the bibliography tables?

    Plugin Author Benjamin Sommer

    (@benjaminsommer)

    This code you posted cannot work, because
    1. refID for both references are equal (i.e. 2) and the two refName are not unique!. Remember that refID and refName has to be unique, but that should correctly generated by the metabox Bibliography. Optionally, you can leave refID and refName.
    2. The shortcode with print_headline has to be at the bottom of your article, or below these two references. But as I previously posted, you don’t have to write this shortcode and just turn on the option “Auto-Append Table of Bibliography” in Netblog Settings.

    Here is sample post that worked at the development server, with WordPress 3.2.1:

    ref stuarts

    [nbcite type=”book” year=”2011″ title=”Stuart\’s Tarheels: James B. Gordon and His North Carolina Cavalry in the Civil War” publisher=”McFarland and Sons, Inc.” publisher_place=”NY” author=”Chris J. Hartley”]

    ref military

    [nbcite type=”book” year=”2011″ title=”Military Ballooning During the Early Civil War” volume=”X” publisher=”National Geographic” publisher_place=”DC” author=”Christopher Duggins” city=”Baltimore” pages=”2011″]

    end

    [nbcite print_headline=”References” print=”default” ]

    Could you please post the content of the article “https://impari.gotdns.org:81/wordpress/?page_id=156” or send it to me via mail at https://netblog.benjaminsommer.com/contact.php? Because something else is wrong in the table of bibliographies (cross-linking). Thanks.

    Thread Starter matthewboh

    (@matthewboh)

    Benjamin – thanks so much for the help, but I feel like I’m missing a really basic part of this plugin.

    This plugin creates tables in the database, but I have no idea how to populate those underlying tables. If I knew how that worked, I feel like I’ll be there. How do I populate those tables?

    Plugin Author Benjamin Sommer

    (@benjaminsommer)

    Technically speaking, WordPress uses MySQL databases, which means the programmer can communicate with mysql via MySQL Improved Extensions for PHP. With this classes, you can create schemas, tables and rows within selected table(s) for a valid mysql connection. That way, you create/fill tables.

    Netblog collects data, e.g. when you enter somethings or whatever, and inserts them into its previously created database tables, e.g. for bibliographic references or for external links. Netblog as a plugin consists of several classes and algorithms to work with, collect and optionally save these data (thats why we normally use databases, to securely and to fast store and read data).

    Shortcodes in WordPress are quite similar to HTML tags in that WordPress “parses” each post before it gets transmitted to your public visitor (request) for a very certain syntax, i.e.

    [shortcodetag key1=”value1″ key2=”value2″]innertag[/shortcodetag]

    Just Google for more information on WordPress Shortcodes.
    Netblog uses the tag “nbcite”, which has been previously registered as a valid shortcode tag name (with callback functions along with it). Registered callback functions work with keys, values and innertag (provided as method parameter). The rest is up to the specific plugin. In case of Netblog and bibliographic references, each reference, its final output, its local id for a given post id are temporary saved within variables (RAM). As soon as this callback method “sees” that the key “print” has been defined, it assumes that you want to print out all previously in memory saved (for each request only) references and performs the next tasks to do so. After server request has been done in PHP, all previously stored temporary variables are being deleted from server ram. In case you want to store something permanently, you have to save it on hard disk (maybe with databases and sql query commands).

    In v2.06, all algorithms for bibliographic references are stored in these classes: nbcite, nbcstyle, nbcs and nbcs_*
    Note that this organization will change over time (rather soon maybe), but since Netblog is freeware and opensource, I don’t have to do this right now.

    Thread Starter matthewboh

    (@matthewboh)

    Took me awhile – basically what I was missing is that you need to create the bibliography, Update the page, then create the next one.

    Thanks! This looks like a great resource and plugin

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘How do I create a list of bibiliographies?’ is closed to new replies.