We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 26641
    • 27 Posts
    @hexxamillion

    I would really double check your settings. I know, I hate when people tell me stupid stuff like that on the forums, but it seems to be the most consistent problem.

    Like mentioned earlier, that error is due to the DOM function not receiving valid XML to parse....meaning it’s not getting it from the xmlrpc query.

    DOM looks enabled for you which is usually the only other problem people encounter.

    Like always, I don’t mind taking a peak if you want to email me user/pass senica at allebrum.com
      • 12090
      • 19 Posts
      Thanks Senica. I sent you an email with login. Please let me know whant you find or suggest. I know xmlrpc works because I am performing a similar task already with my mobile wordpress blog which requires xmlrpc to be enabled.
        • 26641
        • 27 Posts
        So hexxamillion’s issue turned out to be the password having a character in it that wasn’t being escaped. To fix it, I simply put the password in single quotations instead of double quotes to make it literal and it worked.
          • 12090
          • 19 Posts
          oh....I forgot about that...grrr.....it’s always something simple. I forgot to escape that.

          Regarding the excessive posts resulting with long response time, I may be able to do use the part of your code that pulls the titles and find a way to only print a specific count..and/or integrate some php code external to your plugin that parses specific amount of post data.

          in any case many thanks! It usually helps to have two extra set of eyes when it comes to looking at code.
            • 12090
            • 19 Posts
            I used the awpPost instead which is what I really wanted and that loads just fine...this is good stuff! So now my question is..does your code also pull any images that may be used in posts?
            -----------------------


            I answered my question. My awpPost is displaying the Wordpress code for the image gallery display rather than the images themselves.
              • 12090
              • 19 Posts
              I was able to get the post title to link to the original blog post and print the a hyperlink to the post. This may be my temp work around regarding the photo galleries within the original blog post.

              Using awpPost:

              This just simply hyperlinks the blog title to the original blog post. Looks kinda redundant but it works for now.

              echo "<a href=".$post["link"]."><h2>".$post["title"]."</h2></a>";



              This just simply adds a link under the title to the original post. Both solutions do the same thing just have to decide which one you want to use.

              echo "<a href=".$post["link"].">Go to Original Blog Post</a><br />";


              So now my challenge is using this same solution on the first output page for the awpPost. My workaround above only modifies the second target page for the individual blog posts. I hope that makes sense..not sure how to word this.
                • 26641
                • 27 Posts
                That is strange about the images. I know they show. Does wp use tags like shortcode instead of the actual image tag? You might just need to do a str_replace to format the image tag correctly.
                  • 26641
                  • 27 Posts
                  Quote from: hexxamillion at Jun 25, 2010, 01:52 AM

                  So now my challenge is using this same solution on the first output page for the awpPost. My workaround above only modifies the second target page for the individual blog posts. I hope that makes sense..not sure how to word this.

                  Didn’t realize you had a question wrapped up in there.

                  Did you figure out what were asking? I’m not sure I completely understood what you were getting at.
                    • 12090
                    • 19 Posts
                    Quote from: senica at Jun 25, 2010, 08:12 AM

                    That is strange about the images. I know they show. Does wp use tags like shortcode instead of the actual image tag? You might just need to do a str_replace to format the image tag correctly.

                    Yes. I’m using a gallery plugin on my blog. So it’s not the typical img html tag. Its the plugin tag
                    [nggallery id=20]
                      • 12090
                      • 19 Posts
                      Quote from: senica at Jun 25, 2010, 02:21 PM

                      Quote from: hexxamillion at Jun 25, 2010, 01:52 AM

                      So now my challenge is using this same solution on the first output page for the awpPost. My workaround above only modifies the second target page for the individual blog posts. I hope that makes sense..not sure how to word this.

                      Didn’t realize you had a question wrapped up in there.

                      Did you figure out what were asking? I’m not sure I completely understood what you were getting at.

                      So what I was attempting to ask was what code within the class php file modifies the awpPost title? I know the one within the snippet but any modifications to that only changes the output on the second landing page for the post. I want to modify the title on the initial output of the post "feed".