mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-07 10:14:46 -04:00
Implement support for full-content feeds via a FullContentProfile
This commit is contained in:
parent
f79fd7a15c
commit
4e49c9807c
@ -321,10 +321,14 @@ class DefaultProfile(object):
|
|||||||
|
|
||||||
|
|
||||||
class FullContentProfile(DefaultProfile):
|
class FullContentProfile(DefaultProfile):
|
||||||
|
'''
|
||||||
|
This profile is designed for feeds that embed the full article content in the RSS file.
|
||||||
|
'''
|
||||||
|
|
||||||
|
|
||||||
max_recursions = 3
|
|
||||||
summary_length = 500 # Max number of characters in the short description
|
summary_length = 500 # Max number of characters in the short description
|
||||||
|
|
||||||
|
max_recursions = 0
|
||||||
article_counter = 0
|
article_counter = 0
|
||||||
|
|
||||||
def build_index(self):
|
def build_index(self):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user