Comments (3)
Great idea! In terms of OPML editor, we actually used feedly which has an export to OPML feature. However, CSV is a great feature to add!
from baleen.
It looks like the required fields to create a Feed are link and category, with an optional title.
Is that right?
Here's my understanding of a Feed:
from baleen.models
:
class Feed(me.DynamicDocument):
# my (optional) title for this feed
title = me.StringField(max_length=256)
# the link to get the RSS feed. FeedParser may update it during sync if it sees a different href.
link = me.URLField(required=True, unique=True)
# A dict of xmlURL, which is the link above, and an htmlURL, which is ...? the human-friendly version of the site?
urls = me.DictField()
# my name for the collection of documents - like a corpus name. One category per feed.
category = me.StringField(required=True)
# for Baleen - guessing the Job ignores inactive feeds
active = me.BooleanField(default=True)
# fields that the FeedParser package modifies
version = me.StringField(choices=FEEDTYPES)
etag = me.StringField()
modified = me.StringField()
fetched = me.DateTimeField(default=None)
signature = me.StringField(max_length=64, min_length=64, unique=False)
created = me.DateTimeField(default=datetime.now, required=True)
updated = me.DateTimeField(default=datetime.now, required=True)
Am I heading in the right direction? This is simpler than I was expecting.
from baleen.
Yep, that's pretty much correct - the OPML file doesn't contain much information - title and link are by far the most important, with category and active being of secondary importance.
from baleen.
Related Issues (20)
- document exporter commandline options
- Write tests for exporter sanitization functions HOT 3
- Write tests to make clear which Feed attributes could be changed
- Unicode decode error HOT 3
- Use Timeout Decorator
- Formalize Mongo Schema
- README Markdown messed up HOT 1
- Baleen add2venv HOT 8
- Examples for documentation HOT 1
- Configurable Scheduling
- Update baleen github repo url in docs HOT 4
- PEP8 cleanup HOT 5
- Change post object in order to avoid duplicate fetch
- Move html sanitization to Post HOT 2
- move sanitize to its own exporter option HOT 2
- Export Compressed Posts HOT 1
- Export to directory other than '.' fails HOT 1
- xmlPaths in .opml feed definition files are unescaped HOT 1
- conect with mongodb HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from baleen.