12 Replies Latest reply on Nov 11, 2005 12:11 PM by dsicore

    New blog on Labs

    adamw

      Hello,
      I'd like to replace the current blog with a better one, shotoku + feeds based. Here's how I think it would work: as now, you would have to place your blog entries in the $PROJECT_HOME/blog directory. But, the title and author would be set as properties (now, you can't set the author, and title of the entry is its first line).
      Additionaly, some configuration file is needed. Again, this could be a file in CMS (for ex. $PROJECT_HOME/blog.properties). Its content would be the blog description, and it would need to have two properties set: blog title and default author (possibly other things too: managing editor, web master etc).
      One more possibility, is too add podcast support - a blog entry could have a special attribute set which would mean "I'm an audio/video file". Then, in the template, a <link enclosure="..." .../> would be rendered instead of the entry's content.

      So what do you think, any comments? :).

      --
      Cheers,
      Adam

        • 1. Re: New blog on Labs
          szimano

          Tell me what is the reason to set (as i understand) additional property files for every blog entry ?

          I like the way of doing *single* file and commiting it. Maybe... we could leave the first-line-title thing + adding ability to set author ? I mean... if it's not an XML file... treat it as blojsom entry (i guess people are used to it)... if it is an XML file... allow adding special goodies... like author name, videa, mp3 and so on.

          --
          Cheer,
          Tomek

          • 2. Re: New blog on Labs
            adamw

            No, there would be only one configuration file - which I named blog.properties, with the global settings (like the blog description and title).

            For each blog entry, you would have to set properties for that blog entry - and by that I mean set SVN properties, not create a separate file. To put it nicely, its "levaraging metadata capabilities of svn and shotoku" ;) (or something like that, without the mistakes in "levarage")

            --
            Adam

            • 3. Re: New blog on Labs
              szimano

              levaraging - difficult word
              metadata - another difficult word.

              SVN properties... is it IP enough ;) ? I just would really like to have old blog entries work :)... this also would made a lot easier future porting blojsom at jboss.org

              Tomek

              • 4. Re: New blog on Labs
                adamw

                Well, I think it is more IP then putting title in the first line and author in the second. Setting properties is much nicer, cleaner and less error-prone then having a .meta file with properties, as blojsom does now. And in the future ( :) ), we'll be doing it over a web interface anyway.

                As for migration, writing a script that converts blojsoms files to new blog files should be very easy :). With grep, cut etc you can do everything ;).

                --
                Adam

                • 5. Re: New blog on Labs
                  szimano

                  Maybe it's more IP but people are used to do it this way, right :] ?

                  In the end... i can get used to it. But... grep, cut etc ?!... Are you turning h4><or ?

                  You must code this blog in vim, then :] I've got an idea ! Let's write JBoss Vim...

                  ;)
                  Tomek

                  • 6. Re: New blog on Labs
                    adamw

                    In our case "people" is Damon, Aron and you. So, it's not so bad ;). And, if you didn't know yet, I'm a h4><or for a long time now. Don't forget I use gentoo :).

                    • 7. Re: New blog on Labs
                      szimano

                      Isn't jboss.com using blojsom ?

                      And right... gento... h4><ors use http://www.linuxfromscratch.org/ :]

                      Tomek

                      • 8. Re: New blog on Labs
                        adamw

                        Yes, jboss.com is using blojsom, but by the time we migrate jboss.com blogs to our blog (if we do), "people" would just switch from one web interface to another. And converting the entries will be, as I wrote, easy (er ... should be :) ).

                        • 9. Re: New blog on Labs

                          I like the idea of using svn properties, but I think people will freak out a bit when writing blog entries as xml.

                          At a mininum we need to support the same thing as what blojsom does now:

                          1. First line is a title
                          2. Rest is blog entry.

                          It may be possible to just use a special first line:

                          1. [title][property1=blah][property2=blah]
                          2. Rest is blog entry.

                          Also, don't forget that we really need xmlrpc support for those users who use ecto type tools. They make blogging so easy that people actually do it.

                          http://ecto.kung-foo.tv/

                          • 10. Re: New blog on Labs
                            szimano

                             

                            1. First line is a title
                            2. Rest is blog entry.


                            Told ya adam :]

                            http://ecto.kung-foo.tv/


                            this remiands me... today is Van Dame's "Double Strike" on TVP1 at 22:20 !!!

                            T.

                            • 11. Re: New blog on Labs
                              adamw

                              Xml files? Who told anything about writing blog entries as xml files?
                              Besides, blojsom doesn't support "first line title, rest blog entry". It supports a separate blog entry file and a separate meta-information file.

                              • 12. Re: New blog on Labs

                                sorry.. thought you meant writing entries as xml.

                                And, when I write a new entry... I don't worry about how blojsom transmogrifies it... I just use the: first line title, rest is entry -- format.