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

Track changes only in headlines #33

Closed
tibor opened this issue May 17, 2017 · 6 comments
Closed

Track changes only in headlines #33

tibor opened this issue May 17, 2017 · 6 comments

Comments

@tibor
Copy link

tibor commented May 17, 2017

Hi,

at first thanks for your efforts and the project!

I got the script running and tweeting but would like to tweet only changes in headlines. Is there a setting to compare only changes in the headline?

Thanks and kind regards

Tibor

@edsu
Copy link
Member

edsu commented May 17, 2017

Congrats on getting it working. Yes, I think #28 would allow you to do that, assuming that it's possible to construct a CSS selector for the title?

I'm curious, was the bot tweeting too frequently?

@tibor
Copy link
Author

tibor commented May 17, 2017

I guess this would solve the problem. But it's only a feature request at the moment, right? Or can I use this feature already?

I’m currently tracking changes for all articles of 6 mayor german newspapers, so there are a lot of tweets indeed. Also there are a lot of Tweets with very Little differences, e. g. in the rating section of articles.

Maybe it would be a good idea to send tweets only when a certain percentage of words or letters has changed.

@edsu
Copy link
Member

edsu commented May 17, 2017

Yes, it's a feature request. I just wanted to see if you thought it covered your use case. That's awesome that you are monitoring those bots. Would you be willing to share the URLs for the Twitter accounts here?

I like the idea of a minimum number of changes as well. I've definitely seen my fair share of diffs that are for commas and things of that nature, which aren't really substantive. I think adding this a config option is a great idea, may a min_diff config option that would be the minimum length of characters changed?

Would you be willing to open a separate ticket for the length issue, and I will close this since it is a duplicate of #28?

@tibor
Copy link
Author

tibor commented May 17, 2017

Yep, we can do it this way. So you are developing diffengine further?

Can you estimate how soon this feature is implemented?

My twitter handle is @ueberschrieben

@tibor tibor closed this as completed May 17, 2017
@edsu
Copy link
Member

edsu commented May 17, 2017 via email

@tibor
Copy link
Author

tibor commented May 17, 2017

Well, that would be awesome if you can find the time!

I noticed some diffengine / bots some time ago but didn’t realize that they were open source. This week I was thinking about creating something similar, but remembered those bots and found via @nyt_diff to the Repository NYTdiff.
Since I’d liked to track multiple sources with one account it was great to see this repository linked in the readme of NYTdiff.

I think I’m gonna add some more issues with ideas I have.

If your grant from Knight Foundation won’t be accepted, I could try to fund some money in Germany as well. Not done this before though.

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

2 participants