From Meta, a Wikimedia project coordination wiki
Note: After publishing, you may have to bypass your browser's cache to see the changes.
- Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
- Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
- Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5.
path | "/" |
---|
fields | fieldname | "itemType" |
---|
required | true |
---|
procedures | selections | type | "fixed" |
---|
config | "newspaperArticle" |
---|
|
|
---|
transformations | |
---|
|
|
---|
|
fieldname | "publishedIn" |
---|
required | true |
---|
procedures | selections | type | "fixed" |
---|
config | "ABC News" |
---|
|
|
---|
transformations | |
---|
|
|
---|
|
fieldname | "title" |
---|
required | true |
---|
procedures | selections | type | "citoid" |
---|
config | "title" |
---|
|
|
---|
transformations | |
---|
|
|
---|
|
fieldname | "date" |
---|
required | false |
---|
procedures | selections | type | "xpath" |
---|
config | "/html/head/meta[@property='lastPublishedDate']/@content" |
---|
|
|
---|
transformations | type | "match" |
---|
config | "\d{4}-\d{2}-\d{2}" |
---|
itemwise | true |
---|
|
|
---|
|
|
---|
|
fieldname | "authorFirst" |
---|
required | false |
---|
procedures | selections | type | "xpath" |
---|
config | ".//*[contains(concat(" ",normalize-space(@class)," ")," Byline__Author ")]" |
---|
|
|
---|
transformations | type | "split" |
---|
config | " " |
---|
itemwise | true |
---|
|
type | "range" |
---|
config | "1" |
---|
itemwise | false |
---|
|
|
---|
|
|
---|
|
fieldname | "authorLast" |
---|
required | false |
---|
procedures | selections | type | "xpath" |
---|
config | ".//*[contains(concat(" ",normalize-space(@class)," ")," Byline__Author ")]" |
---|
|
|
---|
transformations | type | "split" |
---|
config | " " |
---|
itemwise | true |
---|
|
type | "range" |
---|
config | "2" |
---|
itemwise | false |
---|
|
|
---|
|
|
---|
|
fieldname | "language" |
---|
required | false |
---|
procedures | selections | type | "citoid" |
---|
config | "language" |
---|
|
|
---|
transformations | |
---|
|
|
---|
|
|
---|
|
|