hmleal / django-podcast Goto Github PK
View Code? Open in Web Editor NEWA small django app to easily publish podcasts
License: MIT License
A small django app to easily publish podcasts
License: MIT License
<image>
<title>describes the image and it's used to alt attribute</title>
<url>URL of a GIF, JPEG or PNG image that represents the channel</url>
<link>URL of the site</link>
<width>the width in pixels</width>
<height>the height in pixels</heigh>
</image>
Maximum value for width is 144, default value is 88.
Maximum value for height is 400, default value is 31.
Create this schema of urls which only returns a JSON with details
http://www.example.com/podcasts/
http://www.example.com/podcasts/channel-slug/
http://www.example.com/podcasts/channel-slug/title-slug/
Returns an XML compatible with RSS 2.0 and iTunes
http://www.example.com/podcasts/channel-slug/feed/
# With this content type
content_type = 'application/rss+xml'
Something like:
STATUS_DRAFT = 1
STATUS_PUBLIC = 2
STATUS_PRIVATE = 3
STATUS_CHOICES = (
(STATUS_DRAFT, 'Draft'),
(STATUS_PUBLIC, 'Public'),
(STATUS_PRIVATE, 'Private'),
)
And also create a manager:
Item.objects.draft()
Item.objects.public()
Item.objects.private()
The above error happens when running pip install django-podcast.
I tried to install manually after this name error, but after manual installtion django keeps saying ModuleNotFoundError: No module named 'podcast' after installing to a virtualenv.
https://cyber.harvard.edu/rss/rss.html#ltenclosuregtSubelementOfLtitemgt
<enclosure url="http://www.scripting.com/mp3s/weatherReportSuite.mp3" length="12216320" type="audio/mpeg" />
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.