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

Exclude links with specific characters #9

Open
JF1313 opened this issue May 8, 2018 · 4 comments
Open

Exclude links with specific characters #9

JF1313 opened this issue May 8, 2018 · 4 comments
Assignees

Comments

@JF1313
Copy link

JF1313 commented May 8, 2018

A fantastic plug-in that takes YOURLs from good to great!

It would be helpful if there is the ability to exclude links that have certain characters. As an example, suppose a set of links start with 'z123'. IT would be helpful to have the plug-in ignore stats for any link starting with 'z123' and display the stats for the rest of the links.

Thanks again for the plug-in!

@JF1313 JF1313 changed the title Excluse links with specific characters Exclude links with specific characters May 8, 2018
@vaughany vaughany self-assigned this May 8, 2018
@vaughany
Copy link
Owner

vaughany commented May 8, 2018

I think a user-configurable regular expression might work here. Give me a few days to see what I can do.

@JF1313
Copy link
Author

JF1313 commented May 9, 2018

That would be great!

Thank you.

Also, not sure how you will implement this, however, if there's an opportunity for the user to enter multiple expressions to exclude, that would be great.

As an example, exclude all short URLs that start with either Z123 or Y123.

Something to think about :-)

@vaughany
Copy link
Owner

vaughany commented May 10, 2018

I've been working on this today, and in reviewing the Yourls documentation and my fairly old code, it seems there's a lot to change to bring the plugin up to scratch. When I'm happy with that, I'll start working on this feature (and look at the other issues too).

@JF1313
Copy link
Author

JF1313 commented May 11, 2018

Thanks for the update and the persistence!!

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

No branches or pull requests

2 participants