Now that you ask the question, I think $post->ID is fine. I was thinking 
permalink would be unique across publishers, but that's not a 
requirement (the article_id only needs to be unique for that publisher). 
I'll update it.

On 5/17/13 6:13 PM, John Mertens wrote:
>
> In ElectNext.php:
>
> >          $new_content = "
> >            <script data-electnext id='enxt-script' type='text/javascript'>
> >              //<![CDATA[
> >                var _enxt = _enxt || [];
> >                _enxt.push(['set_account', '{$this->api_key}']);
> > +              _enxt.push(['set_article', '$permalink']);
>
> What's the rationale behind using the permalink for the article_id 
> instead of "$post->ID"?
>
> —
> Reply to this email directly or view it on GitHub 
> <https://github.com/ElectNext/electnext-wp-plugin/pull/18/files#r4285568>.
>