This commit is contained in:
Martin Rotter 2021-02-02 20:44:34 +01:00
parent b7b48ae5c1
commit c53b4bb970
3 changed files with 3 additions and 0 deletions

View File

@ -63,6 +63,8 @@ After your source feed data are downloaded either via URL or custom script, you
Format of post-process script execution line is the same as above.
<img src="images/scrape-post.png" width="50%">
Typical post-processing filter might do things like advanced CSS formatting of feed file entries, removing some ads or simply pretty-printing XML data:
| Command | Explanation |

Binary file not shown.

After

Width:  |  Height:  |  Size: 21 KiB

View File

@ -682,6 +682,7 @@ QNetworkReply::NetworkError StandardFeed::networkError() const {
StandardFeed::StandardFeed(const QSqlRecord& record) : Feed(record) {
setEncoding(record.value(FDS_DB_ENCODING_INDEX).toString());
setSourceType(SourceType(record.value(FDS_DB_SOURCE_TYPE_INDEX).toInt()));
setPostProcessScript(record.value(FDS_DB_POST_PROCESS).toString());
StandardFeed::Type type = static_cast<StandardFeed::Type>(record.value(FDS_DB_TYPE_INDEX).toInt());