Comments (10)
@CypherPoet I did the 2 changes you suggested. Definitely we should call ITEMS to the feed items in a feed. I just missed that.
@Evanfeenstra please apply those changes
Regarding the Value, Model and Destination:
- Value: not actually needed since it contains the Model and the Destinations array. In kotlin app I skipped that and linked the Model and the Destinations to the Feed object (maybe we can remove it from the response @Evanfeenstra ?)
- Model: the type is usually
lightning
and thesuggested
value is an amount in BTC to send to the destinations. We were using it at the beginning before we built the slider to set the sats per minute to contribute. But good to have that information. - Destination: type is usually
node
, theaddress
is the public key to send the sats to, and thesplit
is a percentage of the suggested amount to send to that destination. For example there might be 2 destinations, each one with 50 on split (which means half of the amount set as contribution will be sent to each destination)
from sphinx-tribes.
One thing to consider is that not all feeds has a unique ID, so we should define some logic to build a unique ID for each feed. I would say id should be a STRING and it could be build with something like:
- SOURCE_ID (if id exists)
- SOURCE_LINK (if id doesn't exist)
But not sure about this.
from sphinx-tribes.
ya, many of these fields will be empty. For example Medium posts look like they just have id, title, link, and description. In fact, i dont even see "author" on medium channels or posts. Any thoughts?
from sphinx-tribes.
yeah, that's correct. Some of them will be empty depending on the source. I added all the needed fields. Author could be empty for medium newsletter, but filled for substack newsletters or items.
We need to define a logic to build the IDs as I mentioned on a comment above, since most of the content (but the podcast index items) have no id, and we need one for each feed and feed item.
from sphinx-tribes.
One suggestion here: I would change the episodes
property on the top-level feed structure to items
. This would be consistent with the fact that we're calling the individual entity an Item
, and also with the standard RSS key name of item
.
from sphinx-tribes.
It also might not hurt to have contentType
as a part of Item
. That would allow for the possibility of some feed's items potentially having different contentType
s.
from sphinx-tribes.
Furthermore, some documentation on what Value
, Model
, and Destination
represent would also be helpful, as right now, I can't really discern what these represent based upon the description above.
from sphinx-tribes.
@CypherPoet Just as a note FeedDestination
should have a composited primary key of feed_id
and address
. Otherwise we can run on the duplicated destinations issue (since new destinations with same address will be inserted for the same feed every time data is fetched) which would cause multiple pmts going out to same destination while listening to a podcast or sending a boost.
from sphinx-tribes.
It also might not hurt to have
contentType
as a part ofItem
. That would allow for the possibility of some feed's items potentially having differentcontentType
s.
there is "enclosureType" on each item
from sphinx-tribes.
The endpoint on the test tribe server supports all the above RSS sources. for example https://tribes-test.sphinx.chat/feed?url=https://bitcointv.com/feeds/videos.xml?videoChannelId=2
from sphinx-tribes.
Related Issues (20)
- Organization Balance Layout HOT 13
- Add Endpoints and properties to Workspaces/Organizations HOT 2
- Bounties exported from Admin module not showing all bounties
- Workspace name not showing up in admin module
- Add multiple select filter for workspaces in admin HOT 2
- Add Endpoints for Workspace Repositories HOT 2
- Add features to workspaces HOT 1
- Add User Stories to Features HOT 1
- Add Phases to Features HOT 1
- Modify Features endpoint and add delete feature HOT 11
- [Test repo2graph] - features.go HOT 1
- Add Endpoint to get repo and delete repo [feature-add-repos-to-workspaces-modify-delete] HOT 1
- [Review] - Real-time data stream from Jitsi Recording HOT 1
- Add Bounties to Phase [feature-add-bounty-to-phase] HOT 5
- Monitoring: Negative balance DB HOT 2
- Add Pagination, Filtering and Sorting to endpoint Get Bounties for Phase HOT 1
- Add Pagination, Sorting and 3 summary fields to endpoint Get Features for Workspace HOT 3
- BUG FIX: Workspace Delete Functionality HOT 5
- Prune Expired Invoices From Invoice List
- Poll User Workspaces Invoices.
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 sphinx-tribes.