Giter Club home page Giter Club logo

Comments (9)

marloostudio avatar marloostudio commented on May 29, 2024 1

Ben got it fixed, thanks so much. This is a great software, it is going to make my life easier.

do you know I have to regenerate the podcast xml everytime i add mp3 file?? or it will do it on intervals?

from dir2cast.

ben-xo avatar ben-xo commented on May 29, 2024 1

Glad you got it fixed.

If you use the OUTPUT_FILE setting, you will have to regenerate it yourself.

If you leave the OUTPUT_FILE setting comment out, but put dir2cast.php in the same folder as your mp3 files, and then set your itunes URL to website.com/dir2cast.php, then it will regenerate by itself with no need for you to do anything.

from dir2cast.

ben-xo avatar ben-xo commented on May 29, 2024

Can you give me a bit more information on how you use it?

If you want it to output a file called podcast.xml, then you will have to uncomment that line (take the ; away before OUTPUT_FILE)

from dir2cast.

marloostudio avatar marloostudio commented on May 29, 2024

I did ucomment it and also created the Folder /XML myselef manually but still generates following error:

Writing RSS to: /xml
Warning: Cannot modify header information - headers already sent by (output started at /home/library/public_html/newversion5/dir2cast.php:1923) in /home/library/public_html/newversion5/dir2cast.php on line 1480

from dir2cast.

marloostudio avatar marloostudio commented on May 29, 2024

`fopen(/xml): Failed to open stream: Permission denied

This error occurred on line 1924 of /home/library/public_html/newversion5/dir2cast.php.`

from dir2cast.

ben-xo avatar ben-xo commented on May 29, 2024

I'll get around to fixing the warning at some point, ultimately it's harmless

fopen(/xml): Failed to open stream: Permission denied <- this is your problem. I presume you've configured OUTPUT_FILE = /xml. Try configuring OUTPUT_FILE = xml/podcast.xml or OUTPUT_FILE = XML/podcast.xml if the folder you created was in uppercase.

"/xml" would refer to a file in the root of the whole filesystem, not within the podcast folder.

As is often the case - the error message tells you exactly what the problem is!

from dir2cast.

ben-xo avatar ben-xo commented on May 29, 2024

Normally you wouldn't configure OUTPUT_FILE at all, you'd just set the URL to yourwebsite.com/dir2cast.php and let dir2cast.php take care of the rest. If you can get it to work without changing the .ini file at all, then you can tailor it to your needs later.

from dir2cast.

marloostudio avatar marloostudio commented on May 29, 2024

let me give it a try again, but it wasn't generating the XML file for iTunes before automatically. It was actually dumping them into temp.

from dir2cast.

ben-xo avatar ben-xo commented on May 29, 2024

from dir2cast.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.