RSS parsing has been added as a method to parse source since they're easier on the website's end to parse. Source settings have been added. The only current setting is the fetch mode which selects which parser/scraper to use. By default, if an RSS parser is found, it's selected. A source now has info shown regarding versioning and authorship. A source list's repository name and author string are now required. Signed-off-by: kingbri <bdashore3@gmail.com>
27 lines
547 B
Swift
27 lines
547 B
Swift
//
|
|
// SourceTracker+CoreDataProperties.swift
|
|
// Ferrite
|
|
//
|
|
// Created by Brian Dashore on 8/3/22.
|
|
//
|
|
//
|
|
|
|
import Foundation
|
|
import CoreData
|
|
|
|
|
|
extension SourceTracker {
|
|
|
|
@nonobjc public class func fetchRequest() -> NSFetchRequest<SourceTracker> {
|
|
return NSFetchRequest<SourceTracker>(entityName: "SourceTracker")
|
|
}
|
|
|
|
@NSManaged public var urlString: String
|
|
@NSManaged public var parentRssParser: SourceRssParser?
|
|
@NSManaged public var parentHtmlParser: SourceHtmlParser?
|
|
|
|
}
|
|
|
|
extension SourceTracker : Identifiable {
|
|
|
|
}
|