We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 26435
    • 1,193 Posts
    Just an update,
    I have the Podcast management snippet for [[MODcast]] half done. It is called "[[MODcastAdmin]]". The configuration part works awesome. You fill out a web form once to configure every aspect of the snippet so the only call would be [[MODcast]] grin. I hated the fact that the snippet call was like 400 characters long wink. I need to scrub up the file upload half of [[MODcastAdmin]] because there are some SERIOUS security issues with it now, and it only uploads a file (no display of files already uploaded, no settings for timestamp like jbjones suggested), but I am hoping to get a ton of work done on MODcast/MODcastAdmin v0.3 this weekend because it is my fiancé’s bridal shower, so I am kicked out of the house. :’(

    later

    -sD-
      Husband, Father, Brother, Son, Programmer, Atheist, Nurse, Friend, Lover, Fighter.
      All of the above... in no specific order.


      I send pointless little messages
      • 13736
      • 345 Posts
      While you are working on a configuration panel, think about how to create two separate Podcasts on the same site. For example: If we were using only [[MODcast]] how would we differentiate between a video cast and an audio cast or two different audio casts.
        • 26435
        • 1,193 Posts
        Quote from: jbjones at May 05, 2006, 12:15 PM

        While you are working on a configuration panel, think about how to create two separate Podcasts on the same site. For example: If we were using only [[MODcast]] how would we differentiate between a video cast and an audio cast or two different audio casts.


        Hmmm?

        Hadn’t thought of that, as I just put this snippet together because I wanted to create a iTunes podcast of my music, so I only needed one feed. The "dirCaster" script that I used for the basis of this snippet works ok for this. I can see how multiple would be totally useful. If you have any ideas on how I could implement this, please post some very specific PHP code showing how to do this as I am basically a PHP noob (I just decided to start learning PHP about a month ago). I am going to continue my current work on v0.3 as a single feed, but even as I am writing this I am coming up with ideas on how to implement that feature. Thanks jbjones. you got my gears turning here! wink

        -sD-
          Husband, Father, Brother, Son, Programmer, Atheist, Nurse, Friend, Lover, Fighter.
          All of the above... in no specific order.


          I send pointless little messages
          • 26435
          • 1,193 Posts
          Ok, I have MODcastAdmin working to configure multiple pocasts/videocasts. it now configures a user define feed for MODcast. once configured, MODcast can be called as [[MODcast? &feed=`podcast1`]] or whatever it was you set your feed name to in MODcastAdmin. I need to do a few more tests with it, and continue work with the *very* basic file upload. It may end up being a total of 3 snippets, MODcast, MODcastAdmin (for uploading and deleteing), and MODcastConfig (for creating or editing the config file). We will have to see how clever I can be.

          -sD-
            Husband, Father, Brother, Son, Programmer, Atheist, Nurse, Friend, Lover, Fighter.
            All of the above... in no specific order.


            I send pointless little messages
            • 13736
            • 345 Posts
            Wow. Those two posts were only like 5 hours apart. Fast working there.
              • 26435
              • 1,193 Posts
              I give up :’(.
              I can get it to work on my local testing server, but not on any of the production servers I use. If anyone wants to take over this project, please do. I am too much of a noob yet. maybe later.

              -sD-
                Husband, Father, Brother, Son, Programmer, Atheist, Nurse, Friend, Lover, Fighter.
                All of the above... in no specific order.


                I send pointless little messages
                • 10487 MODX Staff
                • 1,535 Posts
                Hey Scotty! Don’t give up so easily wink

                PM me the code (or a link where I can download it) and I’ll check it out and see if I can give you a hand. You’ve made a great snippet here, be a shame if you didn’t progress it through.

                I remember being in the position as you with PHP coding, it was only through the help of this community I have managed to code what I have.

                Cheers, Garry

                  Garry Nutting
                  Senior Developer
                  MODX, LLC

                  Email: [email protected]
                  Twitter: @garryn
                  Web: modx.com
                  • 26435
                  • 1,193 Posts
                  Quote from: garryn at May 06, 2006, 09:29 PM

                  Hey Scotty! Don’t give up so easily wink

                  PM me the code (or a link where I can download it) and I’ll check it out and see if I can give you a hand. You’ve made a great snippet here, be a shame if you didn’t progress it through.

                  I remember being in the position as you with PHP coding, it was only through the help of this community I have managed to code what I have.

                  Cheers, Garry
                  Thanks Garry. I am sending you a PM right now. Honestly, this project consumed every free minute (+ some more minutes) of the last 5 days and my fiancé is getting pissed at me laugh wink.

                  I appreciate you volunteering to take a look at my code. I have wanted to ask someone to do this, but my AIM buddies (Mark & OpenGeek) have been pretty busy. I basically just figured out a way to do some stuff that worked on one thing, that may or may not work on this project. I admit that my knowlege deficit is the culprit here, and your agreement to pick me up out of the dirt and brush my face off means a lot. check your MODx Forum PM box.

                  -sD-
                    Husband, Father, Brother, Son, Programmer, Atheist, Nurse, Friend, Lover, Fighter.
                    All of the above... in no specific order.


                    I send pointless little messages
                    • 26435
                    • 1,193 Posts
                    Ok, Garry was right! I do give up too easily.
                    It works just fine when it is called uncached ( i.e. [!MODcastAdmin!] )
                    so, we are back on track.
                    I should be posting v0.2 later today.

                    thanks to everyone who has helped or contributed ideas/feature requests. You are the reason MODx gets better every day.

                    later

                    -sD-
                      Husband, Father, Brother, Son, Programmer, Atheist, Nurse, Friend, Lover, Fighter.
                      All of the above... in no specific order.


                      I send pointless little messages
                      • 26435
                      • 1,193 Posts
                      Holy ice skating crap that was a lot more work than I expected! shocked

                      I think I may have a semi-useful product here suitable for end users. Please, if you have a chance to download this snippet and test it out I surely do appreciate it. Please also keep the comments, suggestions, feature requests comming. I never would have thought of half this crap if it wasn’t for you guys. I attached the new version to the first post.

                      -sD-
                        Husband, Father, Brother, Son, Programmer, Atheist, Nurse, Friend, Lover, Fighter.
                        All of the above... in no specific order.


                        I send pointless little messages