Paste Ad codes vs entering tag/publisher ids #84

Open
jtsternberg opened this Issue Dec 3, 2013 · 5 comments

Projects

None yet

3 participants

@jtsternberg

http://adcodemanager.wordpress.com/2013/12/03/hey-guys-how-do-we-feel-about-having/

We have a future vip client who may be happy to have this feature implemented.

@danielbachhuber

I'm open to suggestions on what the interface might look like. Considering it's a secondary feature, and might only be supported for some providers, what about having a link or similar that, after clicking, would replace the input fields with the textarea?

The user would then paste their given ad code, hit "Add New Ad Code", and the code would be interpreted into variables.

How do you envision parsing the ad code?

@jtsternberg

That UI convention sounds fine to me. As far as parsing, might be good to start with some standard stri_replace strings that match conventionally provided ad codes and then a pregmatch after that.

@danielbachhuber

Cool, I'd be happy to look at a PR for this.

@jtsternberg

Ok, hope to tackle the related project in the next couple weeks, so will submit a PR as soon as I can.

@rcoll
Automattic member

Awesome idea. Happy to jump in if needed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment