Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Handling multiple jurisdictions / countries #14

Open
Zegnat opened this issue Nov 3, 2013 · 0 comments
Open

Handling multiple jurisdictions / countries #14

Zegnat opened this issue Nov 3, 2013 · 0 comments

Comments

@Zegnat
Copy link

Zegnat commented Nov 3, 2013

Stripe has Terms split over 4 countries: CA, IE, GB, US. How should this be reflected in the rules?

One idea is to add a new attribute country on the url element and expand the definition to allow multiple url elements under a single docname, like so:

<sitename name="stripe.com">
 <docname name="Terms of Service">
  <url name="https://stripe.com/ca/terms"
       xpath="//article[1]" lang="en" country="ca">
   <norecurse name="arbitrary"/>
  </url>
  <url name="https://stripe.com/ie/terms"
       xpath="//article[1]" lang="en" country="ie">
   <norecurse name="arbitrary"/>
  </url>
 </docname>
</sitename>

This could even be useful for multi-lingual cases. Such as this fictitious site:

<sitename name="multilingual.tld">
 <docname name="Terms of Service">
  <url name="http://multilingual.tld/be/nl"
       xpath="//main" lang="nl" country="be">
   <norecurse name="arbitrary"/>
  </url>
  <url name="http://multilingual.tld/be/fr"
       xpath="//main" lang="fr" country="be">
   <norecurse name="arbitrary"/>
  </url>
  <url name="http://multilingual.tld/ca/fr"
       xpath="//main" lang="fr" country="ca">
   <norecurse name="arbitrary"/>
  </url>
  <url name="http://multilingual.tld/ca/en"
       xpath="//main" lang="en" country="ca">
   <norecurse name="arbitrary"/>
  </url>
 </docname>
</sitename>

(I wanted to discuss this in #tosback but couldn’t find the channel on either freenode or OFTC.)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant