-
Notifications
You must be signed in to change notification settings - Fork 345
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
Folder Support #69
Comments
Hi mappleconfusers, From which source you took your opml file? Can you post a copy of it? Thanks |
Certanly. This is how the problematic tags are written:
Here is the file: https://gist.github.com/mappleconfusers/5221555 |
Ok thanks. So as there is no folders feature we can use the multi-tags feature in place. So I can propose to add a tag with the name of the folder for each source. For the moment we only can filter items by one tag, but we can imagine to add the possibility to select more than one so it can be equivalent to folders and subfolders. Do you think that's a good solution? |
I think that would certainly work and that this is probably the most feasible option. Still you might want to consider these aspects which might cause problems in the future:
|
So in this fix I handle your problem as I said with adding a tag for each parent folders. It's probably only a partial solution but I don't think that's in the philosophy of Selfoss to implents folders. Some erros are still here with your OPML file because Selfoss doesn't support Atom feeds. I'm waiting for your feedback ;) |
I'm sorry I'm not very comfortable with Pull requests but you can find my modifications in my referenced commit ;) |
Ok. This seems to work. I still get errors, but I don't think this is caused by your code. You said you are uncomfortable with pull requests: I think the trick is to create a dedicated branch for every request. Also if you want me to I would be happy to create a pull request for you :) |
What do you mean by canonical names? Thanks, I just don't understand why in my pull request here #153 I can't just have the commit of my branch... |
Canonical names like unix paths for instance: newspaper/NY-Times/... Do you know the Pull Request Docfile? https://help.github.com/articles/using-pull-requests |
When I am doing pull requests I normally use the following procedure:
I did this here: https://github.com/mappleconfusers/selfoss/tree/pullreq_opml-folders
|
ah ok, I missed the reference to the original repo when I created my branch, so I created it from my polluted master... Thanks I'll can submit clean pull request now :) |
Ok thanks! This time my PR is clean with only the commit that I want to submit! |
I tried with canonical names too but the result is not really readable because long tag names are not fully displayed... |
Works the current solution for all? |
Pull request #170 fix the few errors still returned about Atom feeds. |
Hi,
I just tried to import an opml with folders and got the following debug message: "Debug opml import: invalid item $FOLER_NAME ".
I was able to work around this issue by removing the folder tags from the xml.
The text was updated successfully, but these errors were encountered: