Comments (5)
Example of usage:
https://twitter.com/sinarproject/lists/malaysian-mps
from popolo-spec.
I don't think there should be specific fields specifically for any of these{1} but rather that the Contact Details and Links section be tightened up considerably such that there is consistency everywhere on how such things are described, so that tools can automatically read this information without getting into things like URL parsing.
Twitter is a slightly odd case, because it straddles both sections. The plan in EveryPolitician is to harmonise them so that there's an entry in both Contact Details and Links for them (the first as the plain username, and the second as a URL), but also with the underlying twitter ID stored in the Identifiers too, as that's the one that remains constant even if someone renames their account (which happens quite often in the UK, for example, when people change from JoeBloggsMP to plain JoeBloggs or even JoeBloggs4MP during elections (when they're not meant to call themselves an MP)
{1} The original FOAF specification made this mistake, and was full of things like icqChatID, msnChatID, aimChatID, jabberID, yahooChatID etc.
from popolo-spec.
Wasn't suggesting for more fields either, just additional standardised
types in contacts like exiting ones such as fax etc
Agree on Twitter use case (site and contact account)
On 8 Sep 2015 18:44, "Tony Bowden" [email protected] wrote:
I don't think there should be specific fields specifically for any of
these{1} but rather that the Contact Details and Links section be tightened
up considerably such that there is consistency everywhere on how such
things are described, so that tools can automatically read this information
without getting into things like URL parsing.Twitter is a slightly odd case, because it straddles both sections. The
plan in EveryPolitician is to harmonise them so that there's an entry in
both Contact Details and Links for them (the first as the plain username,
and the second as a URL), but also with the underlying twitter ID stored in
the Identifiers too, as that's the one that remains constant even if
someone renames their account (which happens quite often in the UK, for
example, when people change from JoeBloggsMP to plain JoeBloggs or even
JoeBloggs4MP during elections (when they're not meant to call themselves an
MP){1} The original FOAF specification made this mistake, and was full of
things like icqChatID, msnChatID, aimChatID, jabberID, yahooChatID etc.—
Reply to this email directly or view it on GitHub
#112 (comment)
.
from popolo-spec.
@tmtmtmtm: Popolo deliberately got around the multiple properties issue by adding a single property type
with multiple values, as @kaerumy describes.
Sean McDonald writes about the expected increasing number of Over the Top (OTT) messaging APIs, like Facebook and Telegram. vCard has an IMPP
property with an unconstrained TYPE
parameter, so it's anticipated for there to be multiple IM contact types.
So, Popolo should have some recommendations on how to model these consistently. URL parsing is not a terrible solution, but all URL parsing solutions would need to be aware of edge cases like fb.com
short URLs instead of the common facebook.com
URLs.
The options for consistent modeling are:
- add new values to the Type of medium code list, e.g.
twitter
- recommend format of the Contact Detail
value
(can enforce in JSON Schema), e.g.mckinneyjames
- recommend format of the Link
url
, e.g.https://twitter.com/mckinneyjames
- create a new open code list for the values of the
identifier
property of Identifier, e.g.twitter
Updated issue description with some documentation for each proposed service.
from popolo-spec.
ROLL UP
Documentation:
- Use
links
for social media accounts identified by URLs (Facebook, Twitter); recommend canonical prefixes, e.g.https://www.facebook.com
,https://twitter.com
- Use
contact_details
for social media accounts identified by usernames (Twitter, Skype); show an example containing only the username not the URL; addtwitter
andskype
values to the 'Type of medium' codelist - Use
identifiers
for social media accounts identified by opaque strings (Twitter IDs); create a new codelist with atwitter
value
Questions:
- Hangout: isn't the ID the same as their email address?
- Telegram: isn't the ID same as their phone number?
from popolo-spec.
Related Issues (20)
- Unknown expiry date on Membership HOT 6
- is there a recommended attribute name for an abbreviation of an organization's name? HOT 11
- Add RSS feed for change history
- Consider need for new superclasses (Thing, Agent, Entity) HOT 2
- Can a post have all value as null? HOT 2
- Define models for elections? HOT 1
- Range of `onBehalfOf` HOT 4
- Attending event on somebody else's behalf HOT 12
- Resume class to capture some qualifications of MPs HOT 3
- AgendaItem to deal with sub-events HOT 3
- Per-field provenance (source) information HOT 1
- Dealing with vote explanations HOT 2
- Describe how to link people to posts without implying membership in organizations HOT 19
- Add Organization purpose
- JSON-LD context inconsistencies - towards a single .jsonld file HOT 4
- OWL file to describe entire opengov ontology HOT 4
- Ensure equity and inclusion with gender pronoun property for Person class HOT 3
- Specification for protocols / minutes / proceedings? HOT 1
- Poplus.org link no longer resolves to correct destination HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from popolo-spec.