6 Replies Latest reply on Feb 11, 2010 2:02 PM by xalperte

    Wiki demo: the feeds of a given blog appears also in other blog

    xalperte

      Hi,


      I have the following structure of directories defined in the wiki:



      
         ROOT
            Community Area
                Press Releases
      
            Comunidad Area
                Comunicados de Prensa
      
      





      The "Press Releases" and "Comunicados de Prensa" directories has a default document with the following content:




         <table width="100%">
         <tr>
           <td width="70%" valign="top">[<=blogDirectory[pageSize=3]]</td>
           <td width="30%" valign="top">
               [<=blogArchive]
               <br/>
               [<=blogRecentEntries]
           </td>
         </tr>
         </table>





      The problem is that when I publish a document in the Press Releases directory, a feed entry is also generated in the Feeds List of the "Comunicados de Prensa" directory.


      What I'm doing wrong?


      Thanks

        • 1. Re: Wiki demo: the feeds of a given blog appears also in other blog
          christian.bauer

          That's not possible, frankly. Probably what you are looking at is the (root) website feed that gets special treatment. I'm sure that if you (Browse Directory) down into the Communicados de Prensa directory and click on Subscribe to directory you will get a different feed that does not have the entry.


          By the way, you definitely should use the latest SVN trunk of the Seam 2.2. community branch if you want to use the wiki for anything but as an example. I've committed some significant changes recently.

          • 2. Re: Wiki demo: the feeds of a given blog appears also in other blog
            xalperte

            Hi Christian, thanks for your kick response...


            When I click on "Subscribe to directory" I get an empty list of entries ¿?¿?


            I used the cut/paste function to create a copy of the documents of the first blog into the second one... because the only thing we need to do is translate them. Could be this the problem?

            • 3. Re: Wiki demo: the feeds of a given blog appears also in other blog
              xalperte

              sorry ... quick :-)

              • 4. Re: Wiki demo: the feeds of a given blog appears also in other blog
                christian.bauer

                Javier Alperte wrote on Feb 06, 2010 17:34:


                Hi Christian, thanks for your kick response...

                When I click on "Subscribe to directory" I get an empty list of entries ¿?¿?


                Well, that's what I just said. Your second directory does NOT have the entry you just published and pushed onto the first directory. Because they are different directories and each has its own feed. (The root site feed is special.)



                I used the cut/paste function to create a copy of the documents of the first blog into the second one... because the only thing we need to do is translate them. Could be this the problem?


                I can't really follow what you clicked on. If you copy and then paste a document into another directory, that directory's feed, nor the site feed, will get an entry. Only if you edit and select the checkbox Create feed entry....

                • 5. Re: Wiki demo: the feeds of a given blog appears also in other blog
                  xalperte

                  You was right!


                  Thank you very much for this great job!! I already has integrated the Wiki and its really amazing, thanks again. Rudder Community


                  I do not know why this is not promoted as a production component or a product, it really works better that other components I saw.


                  To do the integration in our platform I did the following steps:



                  • Divide the WIKI into the following Maven projects:

                       

                             
                    • One JEE Project (Maven) for the WIKi core, with two modules: model and web.


                    •        
                    • A project for each Plugin. Doing this you can decide which plugins to use in your project (dependencies) and each plugin can evolve independently. In our case we don't need the JIRA Plugin.

                    •    




                  Some notes about the integration:



                  • We needed to change the way the engine did the dynamic inclusion of the  templates (xhtml) of the plugins, because now they are inside a JAR file and each time the engine is trying to include them, the Facelets detects a false update in the template and then the JSF Tree is reconstructed, loosing all the information... Now - for us - the xhtml files are extracted into the file system if they still do not  exists.

                  • 6. Re: Wiki demo: the feeds of a given blog appears also in other blog
                    xalperte

                    Sorry, the link to the Rudder Community Portal is not well, but this yes Rudder Community Portal