Difference between revisions of "Template talk:Document"
Jump to navigation
Jump to search
m (→Processing Semantic Dates: reply) |
m (→Processing Semantic Dates: add) |
||
Line 16: | Line 16: | ||
::Not at all clear how best to delineate between the best use of categories and properties though - I'm still scratching my head on that one --[[User:Peter|Peter P]] ([[User talk:Peter|talk]]) 09:51, 11 November 2013 (GMT) | ::Not at all clear how best to delineate between the best use of categories and properties though - I'm still scratching my head on that one --[[User:Peter|Peter P]] ([[User talk:Peter|talk]]) 09:51, 11 November 2013 (GMT) | ||
+ | |||
+ | :::In fact, thinking about it, it would probably be better to have a property [[Property:Has publication date]] because it would then be a simple matter to search on the year of the publication date, making a separate category for each publication year redundant --[[User:Peter|Peter P]] ([[User talk:Peter|talk]]) 12:24, 11 November 2013 (GMT) |
Revision as of 12:24, 11 November 2013
Mandatory
Would it be a good idea to use this on all items in the document: namespace?
Robin (talk) 05:22, 29 October 2013 (GMT)
- Yep. I think it would. Not sure how to force it though, bearing in mind there a lot of documents that pre-exist the template and don't currently incorporate it. A form for the template would be very useful though --Peter P (talk) 08:34, 29 October 2013 (GMT)
Processing Semantic Dates
Semantic wiki does seem to be able to parse dates for its own purposes. Is there a way to use it to convert a randomly formatted date into an ISO-formatted date, so this can be used, e.g. to assign a document to a "YYYY Publications" category?
Robin (talk) 09:08, 11 November 2013 (GMT)
- I'm impressed!!. There must be a way to use SMW parsing for precisely that purpose and the 'isdate' property is the logical one to do it since it simply identifies any old format as a semantically readable date. I do think it would be better to have a new property property:Publication date for the documents publication date field though. I'll create it anyway and it can be used if you agree. SMW has a LOT of potential methinks --Peter P (talk) 09:15, 11 November 2013 (GMT)
- In fact, thinking about it, it would probably be better to have a property Property:Has publication date because it would then be a simple matter to search on the year of the publication date, making a separate category for each publication year redundant --Peter P (talk) 12:24, 11 November 2013 (GMT)