it. In the context of the CC licenses my preference for the API is to
make my life easier as a developer. Not having to worry about
translations or fixes in the licenses that is.
easily updated from the API. So basically you'll have the complete
which you can cache. Every X times it pings the CC server to see if
there is a newer version of the chooser, et voila. Basically it would be
keeping it fully dynamic.
Anyways, for now the plugin is using the partner url. After I have the
other functionality done I may add the static option as well.
Post by Jonas ÃbergHi Bjorn,
what would your ideal API look like? Maybe this is something that CC
doesn't need to provide but which can be built separately as a support
for other software developers?
A larger group of people could then keep it updated and in line with
official CC licenses, as well as opening up to supporting other
licenses using the same interface.
Sincerely,
Jonas
On 22 Oct 2013 21:43, "BjornW" <burobjorn at gmail.com
Hi Dan,
Thanks for your explanation. I'm not sure the static approach is as easy
as it seems. If we would use your suggested static approach, how would
- New localizations or updates in localizations?
- New jurisdictions or countries adapting CC licenses?
- Typos / small mistakes etc. in license (issues that do not merit a new
version)
Basically the gist of my question is: How do I know, as a developer,
something has changed?
Using a dynamic API (incl partner url) keeping track of changes should
(hopefully) be done more or less automatic without having to build a new
version of the plugin (and hoping users would keep up-to-date with new
versions). Not to mention making sure it's using officially endorsed
changes :)
With static builds it's up to me keeping track of changes in licenses &
at this moment I'd not know how or where to look for this info.
So for now I'm leaning towards using a 'dynamic' API (incl partner url)
approach, because it makes it more manageable for me now & (hopefully)
in the future.
Please keep this in mind before shutting down any API service.
All the best,
grtz
BjornW
Post by Dan MillsI wasn't arguing for using one API over the other. I was arguing for
simply bundling that info into the plugin and making no API calls at
all during runtime. The licenses change so infrequently that the
dynamic approach doesn't make sense to me.
Maybe if we made the "API" a flat file, and you cached it on the
client for a very long time, it could be OK. But running a
custom-made
Post by Dan Millspython service to serve up static data is a waste of resources, IMO.
As for translations, the best scenario IMO is for you to check
out our
Post by Dan Millsi18n repository at build time. Next best thing would be for you
to get
Post by Dan Millsthose strings translated together with the rest of your app.
Dan
On Tue, Oct 22, 2013 at 11:48 AM, BjornW <burobjorn at gmail.com
Post by BjornW@Dan/Tarmo: Well, it doesn't matter if we call the API or the
partner
Post by Dan MillsPost by BjornWURL, both are a call to CC.org Although to be fair the API will
probably
Post by Dan MillsPost by BjornWneed a lot more back & forth going calls than just the - at
this moment
Post by Dan MillsPost by BjornW- one call to the CC partner URL. Anyways, I'll stick with the
partner
Post by Dan MillsPost by BjornWurl for now.
As for translations: I've read about an extra parameter to
include a
Post by Dan MillsPost by BjornWlocale (the docs for the partner url use lang as parameter, but
the API
Post by Dan MillsPost by BjornWuses locales. As far as I understood these are not
necessarially the
Post by Dan MillsPost by BjornWsame. Bug in docs?). If the locale does not exists will the
partner url
Post by Dan MillsPost by BjornWfallback to a different language/locale?
@Diane: Looking forward to the launch plans, so we can 'add'
(mostly
Post by Dan MillsPost by BjornWtest) the updated licenses to our plugin as well.
Thanks,
grtz
BjornW
Post by Diane PetersAs for when the chooser will technically be ready, we have settled
pretty much on the integration plan but we're waiting to
finish the
Post by Dan MillsPost by BjornWPost by Diane Peterslegal code and some important collateral (updated FAQs, etc.).
The
Post by Dan MillsPost by BjornWPost by Diane Peterschooser and the new deeds will go live at the same time we
push the
Post by Dan MillsPost by BjornWPost by Diane Peterslegal code live. We're planning on updating affiliates and
this list
Post by Dan MillsPost by BjornWPost by Diane Petersshortly with launch plans.
Diane
On Mon, Oct 21, 2013 at 9:59 PM, Tarmo Toikkanen
<tarmo.toikkanen at iki.fi <mailto:tarmo.toikkanen at iki.fi>
<mailto:tarmo.toikkanen at iki.fi <mailto:tarmo.toikkanen at iki.fi>>>
Post by Dan MillsPost by BjornWPost by Diane PetersI have to agree with Dan. We'll just use 4.0 licenses, and
have
Post by Dan MillsPost by BjornWPost by Diane Petersall the information statically.
Although one extra bit: translations. We'd like to be able to
localize license names and explanations, and I imagine
translations will appear gradually, so we might need to
load these
Post by Dan MillsPost by BjornWPost by Diane Petersdynamically - maybe have a button in the wp-admin side to
"load
Post by Dan MillsPost by BjornWPost by Diane Peterstranslations for language X" or something like that.
Btw, when will 4.0 licenses be technically ready, as in,
in the
Post by Dan MillsPost by BjornWPost by Diane Peterslicense chooser, and available online?
--
Tarmo Toikkanen
tarmo at iki.fi <mailto:tarmo at iki.fi> <mailto:tarmo at iki.fi
<mailto:tarmo at iki.fi>>
Post by Dan MillsPost by BjornWPost by Diane Petershttp://tarmo.fi
Post by Dan MillsChiming into this a bit late... but I don't think there's
good reason
change very
call of any
Post by Dan MillsPost by BjornWPost by Diane PetersPost by Dan Millskind at runtime just to populate the license options.
As for 4.0 changes, there are no infrastructure changes
required by
well) we
shut down /
unmaintained.
<burobjorn at gmail.com <mailto:burobjorn at gmail.com>
Post by Dan MillsPost by BjornWPost by Diane PetersPost by Dan Mills<mailto:burobjorn at gmail.com
Post by BjornWHi Maarten,
No, not as far as I know. For now I've decided to
continue with the
Post by Dan MillsPost by BjornWPost by Diane PetersPost by Dan MillsPost by BjornWpartner url method for this plugin. Any news on (technical)
changes with
regards to CC 4.0?
grtz
BjornW
Post by Maarten ZeinstraHas there been an answer to this yet?
Best,
Maarten
--
met vriendelijke groet,
Bjorn Wijers
* b u r o b j o r n .nl *
digitaal vakmanschap | digital craftsmanship
Van maandag t/m donderdag vanaf 10:00
Vrijdag is voor experimenteren en eigen projecten.
Postbus 14145
3508 SE Utrecht
The Netherlands
tel: +31 6 49 74 78 70
<tel:%2B31%206%2049%2074%2078%2070>
<tel:%2B31%206%2049%2074%2078%2070>
Post by Dan MillsPost by BjornWPost by Diane PetersPost by Dan MillsPost by BjornWhttp://www.burobjorn.nl
_______________________________________________
cc-devel mailing list
cc-devel at lists.ibiblio.org
<mailto:cc-devel at lists.ibiblio.org>
<mailto:cc-devel at lists.ibiblio.org
<mailto:cc-devel at lists.ibiblio.org>>
Post by Dan MillsPost by BjornWPost by Diane PetersPost by Dan MillsPost by BjornWhttp://lists.ibiblio.org/mailman/listinfo/cc-devel
_______________________________________________
cc-devel mailing list
cc-devel at lists.ibiblio.org
<mailto:cc-devel at lists.ibiblio.org>
<mailto:cc-devel at lists.ibiblio.org
<mailto:cc-devel at lists.ibiblio.org>>
Post by Dan MillsPost by BjornWPost by Diane PetersPost by Dan Millshttp://lists.ibiblio.org/mailman/listinfo/cc-devel
_______________________________________________
cc-devel mailing list
cc-devel at lists.ibiblio.org
<mailto:cc-devel at lists.ibiblio.org>
<mailto:cc-devel at lists.ibiblio.org
<mailto:cc-devel at lists.ibiblio.org>>
Post by Dan MillsPost by BjornWPost by Diane Petershttp://lists.ibiblio.org/mailman/listinfo/cc-devel
--
Diane M. Peters, CC General Counsel
http://creativecommons.org/staff#dianepeters
diane at creativecommons.org <mailto:diane at creativecommons.org>
<mailto:email%3Adiane at creativecommons.org
<mailto:email%253Adiane at creativecommons.org>>
Post by Dan MillsPost by BjornWPost by Diane Peters______________________________________
Please note: the contents of this email are not intended to be
legal
Post by Dan MillsPost by BjornWPost by Diane Petersadvice nor should they be relied upon as, or represented to be
legal
Post by Dan MillsPost by BjornWPost by Diane Petersadvice.
_______________________________________________
cc-devel mailing list
cc-devel at lists.ibiblio.org <mailto:cc-devel at lists.ibiblio.org>
http://lists.ibiblio.org/mailman/listinfo/cc-devel
--
met vriendelijke groet,
Bjorn Wijers
* b u r o b j o r n .nl *
digitaal vakmanschap | digital craftsmanship
Van maandag t/m donderdag vanaf 10:00
Vrijdag is voor experimenteren en eigen projecten.
Postbus 14145
3508 SE Utrecht
The Netherlands
tel: +31 6 49 74 78 70 <tel:%2B31%206%2049%2074%2078%2070>
http://www.burobjorn.nl
_______________________________________________
cc-devel mailing list
cc-devel at lists.ibiblio.org <mailto:cc-devel at lists.ibiblio.org>
http://lists.ibiblio.org/mailman/listinfo/cc-devel
--
met vriendelijke groet,
Bjorn Wijers
* b u r o b j o r n .nl *
digitaal vakmanschap | digital craftsmanship
Van maandag t/m donderdag vanaf 10:00
Vrijdag is voor experimenteren en eigen projecten.
Postbus 14145
3508 SE Utrecht
The Netherlands
tel: +31 6 49 74 78 70 <tel:%2B31%206%2049%2074%2078%2070>
http://www.burobjorn.nl
_______________________________________________
cc-devel mailing list
cc-devel at lists.ibiblio.org <mailto:cc-devel at lists.ibiblio.org>
http://lists.ibiblio.org/mailman/listinfo/cc-devel
Vrijdag is voor experimenteren en eigen projecten.