mirror of
https://github.com/samuelclay/NewsBlur.git
synced 2025-08-31 13:35:58 +00:00
Allowing guids to change if the permalink doesn't.
This commit is contained in:
parent
cc4bad4d53
commit
6367347c5e
2 changed files with 7 additions and 3 deletions
|
@ -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):
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Add table
Reference in a new issue