openam / calibrephp

Calibre HTML and OPDS web server based on CakePHP
http://openam.github.io/calibrephp
MIT License
39 stars 14 forks source link

OPDS Missing Title Feed #6

Open NathanaelA opened 10 years ago

NathanaelA commented 10 years ago

If you pull the main feed it doesn't have a "title" sub feed.

openam commented 10 years ago

Are you talking about something like all books sorted by title?

NathanaelA commented 10 years ago

Yep, the OPDS feed doesn't have a sorted by title. I'm not sure if a single feed with all titles (if you have several 1000 it would be really large) or if a feed that automatically splits into separate sub-feeds of approx the same title size; like "A-F", "G-H", "I-M", "N-R", "S-Z", "#" or something like that.

NathanaelA commented 10 years ago

I haven't dug into the source code yet; but if you give me an approx location of how you build your other feeds I might be able to do this myself and give you a pull request.

openam commented 10 years ago

If you want to dig into it that would be great. The authors feed views are located in app/View/Authors/xml/ the controller is located at app/Controller/AuthorsController.php. The same controller methods are used for the webpage views and the feed (xml) views

NathanaelA commented 10 years ago

Thanks for the pointer -- never did anything with Cake before so I wasn't sure where I needed to look your pointer saved me an hour or so since then I didn't have to search for where it was being handled.