• Register
    • Help

    striker  0 Items
    Currently Supporting
    • Home
    • News
    • Forum
      • Try XenForo Demo
      • New Posts
      • FAQ
      • Calendar
      • Community
        • Groups
        • Albums
        • Member List
      • Forum Actions
        • Mark Forums Read
      • Quick Links
        • Today's Posts
        • Who's Online
      • Sponsor
        • Sponsor a Feature
        • List of Donors
    • Wiki
    • Support
    • What's New?
    • Buy Now
    • Manual
    • 
    • Forum
    • VaultWiki How-Tos
    • VaultWiki Questions
    • What to fill in the Microdata property field?

    1. Welcome to VaultWiki.org, home of the wiki add-on for vBulletin and XenForo!

      VaultWiki allows your existing forum users to collaborate on creating and managing a site's content pages. VaultWiki is a fully-featured and fully-supported wiki solution for vBulletin and XenForo.

      The VaultWiki Team encourages you to join our community of forum administrators and check out VaultWiki for yourself.

    Results 1 to 6 of 6

    Thread: What to fill in the Microdata property field?

    • Thread Tools
      • Show Printable Version
    1. 23 Hours Ago #1
      Alfa1
      • View Profile
      • View Forum Posts
      • View Blog Entries
      • View Articles
      Alfa1 is online now
      Distinguished Member
      Join Date
      September 26, 2007
      Posts
      613
      Rep Power
      290

      What to fill in the Microdata property field?

      Its clear to me that this field is to define the microdata from schema.org
      I know which microdata schema I want to use, but it's unclear to me what I need to fill in exactly. The text can use some clarification.
      For example if I want to use:
      https://schema.org/Taxon
      Do I fill in:
      Taxon

      or
      Thing>Taxon

      Or something else?
      Reply With Quote Reply With Quote

    2. 13 Hours Ago #2
      pegasus
      • View Profile
      • View Forum Posts
      • View Blog Entries
      • Visit Homepage
      • View Articles
      pegasus is offline
      VaultWiki Team
      Join Date
      March 28, 2004
      Location
      New York, NY
      Posts
      2,972
      Blog Entries
      18
      Rep Power
      693
      If you want to use Taxon, what property of Taxon does your custom field satisfy?
      By choosing Taxon, when a page has a value for your custom field, the page will have an additionalType of Taxon added to its Article type.

      Taxon has a field called hasDefinedTerm that takes a DefinedTerm type as its value. Your custom field could say:
      hasDefinedTerm:DefinedTerm > termCode

      This means that when your custom field has a value set, the article becomes a Taxon, and the custom field value is used as the termCode of its hasDefinedTerm property.
      - lead developer for VaultWiki
      Reply With Quote Reply With Quote

    3. 6 Hours Ago #3
      Alfa1
      • View Profile
      • View Forum Posts
      • View Blog Entries
      • View Articles
      Alfa1 is online now
      Distinguished Member
      Join Date
      September 26, 2007
      Posts
      613
      Rep Power
      290
      To elaborate: If we have a page about a Person and a field for Birthdate, then these would be suitable Schema's:
      https://schema.org/Person
      https://schema.org/birthDate

      So should the field state:
      birthDate:Date > Person
      Or
      birthDate:Date > termcode
      Reply With Quote Reply With Quote

    4. 1 Hour Ago #4
      pegasus
      • View Profile
      • View Forum Posts
      • View Blog Entries
      • Visit Homepage
      • View Articles
      pegasus is offline
      VaultWiki Team
      Join Date
      March 28, 2004
      Location
      New York, NY
      Posts
      2,972
      Blog Entries
      18
      Rep Power
      693
      When looking into this more deeply, I see I may have oversimplified things. Since you need to first define that the wiki page is a Person, you will need 2 custom fields. 1 that says the page is a Person, and then another to set Person's birthDate.

      Create the Person custom field, assuming the area will only contain "Person" pages:
      1. Set "Field type" to "Schema.org microdata container". Under "Available microdata choices", select "Person".

      If the area will contain other microdata types, you can multi-select from that box to give your users a choice.

      Create the birthDate custom field.
      1. Set "Field type" to "Date".
      2. In the "General Options", set "Microdata property" to:
        Code:
        birthDate

      Since the microdata property is directly filled by the custom field, and the property does not have a sub-property tree, you should not have to include its Date type in this field. You would only have to do something like that, for example, if you were using the field to set the Person's spouse's birthDate:
      Code:
      spouse:Person > birthDate
      In the case where the area allows multiple microdata types (not just Person), the birthDate field should automatically only be applied if the type is Person. VaultWiki maintains a copy of schema.org types to validate against, and tries to only generate the microdata output when the chain validates.
      - lead developer for VaultWiki
      Reply With Quote Reply With Quote

    5. 1 Hour Ago #5
      Alfa1
      • View Profile
      • View Forum Posts
      • View Blog Entries
      • View Articles
      Alfa1 is online now
      Distinguished Member
      Join Date
      September 26, 2007
      Posts
      613
      Rep Power
      290
      Its becoming a little clearer.
      So if I will add a custom field with Person microdata to the area.

      Then we have various custom fields for this area:
      * BirthDate https://schema.org/birthDate
      * deathDate https://schema.org/deathDate
      * Affiliation https://schema.org/affiliation
      * knowsAbout https://schema.org/knowsAbout

      Could you please explain these?
      Reply With Quote Reply With Quote

    6. 1 Hour Ago #6
      pegasus
      • View Profile
      • View Forum Posts
      • View Blog Entries
      • Visit Homepage
      • View Articles
      pegasus is offline
      VaultWiki Team
      Join Date
      March 28, 2004
      Location
      New York, NY
      Posts
      2,972
      Blog Entries
      18
      Rep Power
      693
      Okay, so for birthDate / deathDate, you can directly set this with a "Microdata property" value of "birthDate" or "deathDate" on a custom field that accepts dates.

      However, schema.org defines that affiliation has a type of Organization, so you can't set it with a scalar value that the user can pick. Instead, you have to drill down to one of its other values, like "name" which is a generic property. So to set the name of the affiliation, your "Microdata property" value would be:
      Code:
      affiliation:Organization > name
      This tells VaultWiki that we need to use the custom field to fill "name". And to put name underneath the "affiliation" property of the page, if it exists (if the page is a "Person", then it will). When validating / generating, we need to include that "affiliation" is supposed to be an "Organization", because it's not a scalar schema.org type.

      For "knowsAbout", this is a little tricky because it accepts various values. Basically, for the purposes of your custom field, you need to choose. If you're going to use the Text or URL schema, then it's pretty straightforward:
      Code:
      knowsAbout
      But you may want to use "knowsAbout" to point to another "Thing". Again, since Thing is a type, you need to specify a sub-property. For simple discussion, we'll choose the generic "name" again, (although in the real world that would be redundant and unnecessarily complicated since "knowsAbout" already takes Text as a value)
      Code:
      knowsAbout:Thing > name
      For more complex use... since "knowsAbout" can take a Thing, it can really be used for anything, like:
      Code:
      knowsAbout:Movie > actor:Person > name
      In this case, you would be saying the Person the wiki page is about, "knowsAbout" a Movie. In that movie, there is an "actor" (who is a Person) and their "name" is the value of the custom field.

      You can do a lot with this, but it can get a little overwhelming for your wiki editors if you put too many fields, so try to keep it to the ones you actually need.
      - lead developer for VaultWiki
      Reply With Quote Reply With Quote

    Similar Threads

    1. title-field on top
      By hollosch in forum VaultWiki Questions
      Replies: 2
      Last Post: December 5, 2017, 11:17 AM
    2. title-field on top
      By hollosch in forum VaultWiki Questions
      Replies: 2
      Last Post: May 12, 2015, 11:39 AM
    3. "A required field called forumid is missing or has an invalid value."
      By Mondi in forum VaultWiki Questions
      Replies: 1
      Last Post: April 7, 2010, 11:40 AM

    Bookmarks

    Bookmarks
    • Submit to Digg Digg
    • Submit to del.icio.us del.icio.us
    • Submit to StumbleUpon StumbleUpon
    • Submit to Google Google

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •  
    • BB code is On
    • Smilies are On
    • [IMG] code is Off
    • [VIDEO] code is
    • HTML code is Off

    Forum Rules

    • Contact Us
    • License Agreement
    • Privacy
    • Terms
    • Top
    All times are GMT -4. The time now is 1:10 PM.
    This site uses cookies to help personalize content, to tailor your experience, and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Learn more… Accept Remind me later
  • striker
    Powered by vBulletin® Version 4.2.5 Beta 2
    Copyright © 2025 vBulletin Solutions Inc. All rights reserved.
    Search Engine Optimisation provided by DragonByte SEO (Pro) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
    Copyright © 2008 - 2024 VaultWiki Team, Cracked Egg Studios, LLC.