Allowing guids to change if the permalink doesn't.

This commit is contained in:
Samuel Clay 2014-10-03 14:59:26 -07:00
parent cc4bad4d53
commit 6367347c5e
2 changed files with 7 additions and 3 deletions

View file

@ -1390,9 +1390,13 @@ class Feed(models.Model):
seq = difflib.SequenceMatcher(None, story_content, existing_story_content)
similiar_length_min = 1000
if existing_story.story_permalink == story_link:
similiar_length_min = 20
if (seq
and story_content
and len(story_content) > 1000
and len(story_content) > similiar_length_min
and existing_story_content
and seq.real_quick_ratio() > .9
and seq.quick_ratio() > .95):

View file

@ -1,8 +1,8 @@
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.newsblur"
android:versionCode="72"
android:versionName="4.0.0.b3" >
android:versionCode="73"
android:versionName="4.0.0.b4" >
<uses-sdk
android:minSdkVersion="11"