Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow for multiple outline hierarchies #5

Open
samperd opened this issue Jan 2, 2015 · 3 comments
Open

Allow for multiple outline hierarchies #5

samperd opened this issue Jan 2, 2015 · 3 comments

Comments

@samperd
Copy link

samperd commented Jan 2, 2015

@raptor2101 I am currently running PodCatcher v 0.1.9 running on RaspBMC (now Kodi) I am able to use an opml.xml file with a single outline hierachy, but not multiple outline hierarchies.

According to OPML spec we should be able to use multiple hierachies: http://dev.opml.org/spec1.html "An is an XML element, possibly containing one or more attributes, and containing any number of sub-elements."

The OPML's below should also validate according to: http://validator.opml.org

Sample single hierarchy that works

<?xml version="1.0" encoding="utf-8" ?>
<opml version="1.1">
<head>
<title>Podcasts</title>
<dateCreated>Fri, 02 Jan 2015 17:40:20 +0100</dateCreated></head>

<body>
<outline text="CBC Podcasts">
<outline text="CBC Spark" type="rss" xmlUrl="http://www.cbc.ca/podcasting/includes/spark.xml" />
<outline text="CBC Ideas" type="rss" xmlUrl="http://www.cbc.ca/podcasting/includes/ideas.xml" />
<outline text="CBC How To Do It" type="rss" xmlUrl="http://www.cbc.ca/podcasting/includes/howtodoit.xml" />
<outline text="CBC Laugh Out Loud" type="rss" xmlUrl="http://www.cbc.ca/podcasting/includes/laughoutloud.xml" />
<outline text="CBC Misener On Tech" type="rss" xmlUrl="http://www.cbc.ca/podcasting/includes/misenerontech.xml" />
<outline text="CBC The House" type="rss" xmlUrl="http://www.cbc.ca/podcasting/includes/thehouse.xml" />
</outline>
</outline>
</body>
</opml>

Sample multi-hierarchy that fails

<?xml version="1.0" encoding="utf-8" ?>
<opml version="1.1">
<head>
<title>Podcasts</title>
<dateCreated>Fri, 02 Jan 2015 17:40:20 +0100</dateCreated></head>

<body>
<outline text="CBC Podcasts">
<outline text="CBC Spark" type="rss" xmlUrl="http://www.cbc.ca/podcasting/includes/spark.xml" />
<outline text="CBC Ideas" type="rss" xmlUrl="http://www.cbc.ca/podcasting/includes/ideas.xml" />
<outline text="CBC How To Do It" type="rss" xmlUrl="http://www.cbc.ca/podcasting/includes/howtodoit.xml" />
<outline text="CBC Laugh Out Loud" type="rss" xmlUrl="http://www.cbc.ca/podcasting/includes/laughoutloud.xml" />
<outline text="CBC Misener On Tech" type="rss" xmlUrl="http://www.cbc.ca/podcasting/includes/misenerontech.xml" />
<outline text="CBC The House" type="rss" xmlUrl="http://www.cbc.ca/podcasting/includes/thehouse.xml" />
</outline>

<outline text="O'Reilly Network">
<outline text="FOO Casts: Podcasts from O'Reilly & Friends" type="rss" xmlUrl="http://www.oreillynet.com/pub/feed/32?format=rss2" />
<outline text="MAKE Audio" type="rss" xmlUrl="http://makezine.com/blog/archive/make_podcast/index.xml" />
</outline>
</body>
</opml>```


Any ideas on how to use multiple hierarchies to help organize podcasts?
@samperd
Copy link
Author

samperd commented Jan 2, 2015

Correction,

After more troubleshooting looks like the issue may be with the O'Reilly feeds.

Example multi hierarchy using CBC podcasts

<?xml version="1.0" encoding="utf-8" ?>
<opml version="1.1">
<head>
<title>Podcasts</title>
<dateCreated>Fri, 02 Jan 2015 17:40:20 +0100</dateCreated></head>
<body>
<outline text="CBC 1 Podcasts">
<outline title="CBC Spark" text="CBC Spark" type="rss" xmlUrl="http://www.cbc.ca/podcasting/includes/spark.xml" />
<outline title="CBC Ideas" text="CBC Ideas" type="rss" xmlUrl="http://www.cbc.ca/podcasting/includes/ideas.xml" />
</outline>
<outline text="CBC 2 Podcasts">
<outline title="CBC How To Do It" text="CBC How To Do It" type="rss" xmlUrl="http://www.cbc.ca/podcasting/includes/howtodoi>
<outline title="CBC Laugh Out Loud" text="CBC Laugh Out Loud" type="rss" xmlUrl="http://www.cbc.ca/podcasting/includes/laug>
<outline title="CBC Misener On Tech.xml" text="CBC Misener On Tech" type="rss" xmlUrl="http://www.cbc.ca/podcasting/include>
<outline title="CBC The House" text="CBC The House" type="rss" xmlUrl="http://www.cbc.ca/podcasting/includes/thehouse.xml" >
</outline>

</body>
</opml>

@samperd
Copy link
Author

samperd commented Jan 2, 2015

Perhaps providing a bit more info in the log file might be good to suggest what is failing.

I was looking at /home/pi/.kodi/temp/kodi.log

Errors are pretty sparse and essentially python back traces.

@raptor2101
Copy link
Owner

can you send me your full opml so i can run a test on my maschine?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants