GFY Coders --> How difficult would it be?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Fat Panda
    Porn is Dead. Move along.
    • Aug 2006
    • 13296

    #1

    GFY Coders --> How difficult would it be?

    To create a program that would pull a list of the latest 10-20 wordpress blog posts (title and date only) for every blog entered.

    Basically I'd like to enter the user and pass of each blog I own. Open the program on my desktop, see a list of the blogs I entered, click one and see a list of the latest 10-20 published or scheduled posts for that blog.

    I am sick of logging into 30+ blogs just to see when they were last updated or when they are updated till. Help me!
  • Brujah
    Beer Money Baron
    • Jan 2001
    • 22157

    #2
    To see when they were last updated, you could use an RSS feed reader if all of your blogs publish rss feed.

    Comment

    • marcjacob
      Confirmed User
      • Jun 2003
      • 1063

      #3
      Not that difficult.

      Especially if the script that does this has mysql access to all the blogs.
      Free Site Express GFY Launch Offer
      Gay Demo Video - Straight Demo Video
      Icq: 191127710 Email: [email protected]

      Comment

      • marcjacob
        Confirmed User
        • Jun 2003
        • 1063

        #4
        Originally posted by Brujah
        To see when they were last updated, you could use an RSS feed reader if all of your blogs publish rss feed.
        Or that would work very well to.
        Free Site Express GFY Launch Offer
        Gay Demo Video - Straight Demo Video
        Icq: 191127710 Email: [email protected]

        Comment

        • Fat Panda
          Porn is Dead. Move along.
          • Aug 2006
          • 13296

          #5
          yes but the rss feed only shows the published posts, I need to see the schelduled posts so I know what ones I need to update

          ie...if i only have 2 scheduled posts ready i need to do more

          Comment

          • doridori
            So Fucking Banned
            • Jul 2008
            • 2222

            #6
            above mentioned methods all work. it would be very easy if those blogs shared the same db. if no rss feed, then brute force method would be to scrape. again, many ways to achieve this, and should not be particularly difficult.

            Comment

            • marcjacob
              Confirmed User
              • Jun 2003
              • 1063

              #7
              Originally posted by doridori
              above mentioned methods all work. it would be very easy if those blogs shared the same db. if no rss feed, then brute force method would be to scrape. again, many ways to achieve this, and should not be particularly difficult.
              Like he said, the RSS only shows published posts. So Id guess shared mysql is the easiest to code, and thus cheaper.
              Free Site Express GFY Launch Offer
              Gay Demo Video - Straight Demo Video
              Icq: 191127710 Email: [email protected]

              Comment

              • Matt 26z
                So Fucking Banned
                • Apr 2002
                • 18481

                #8
                Here is probably the most simple, ghetto way of doing it.

                Set up an HTML page with an iFrame for each blog. In each iFrame, print a list if the X most recent and Y scheduled updates for that blog. Probably just posted on date and subject.
                Last edited by Matt 26z; 01-30-2009, 05:38 PM.

                Comment

                • borked
                  Totally Borked
                  • Feb 2005
                  • 6284

                  #9
                  really quite easy - they're all wordpress, so exactly the same sql for each. Just one config file with mysql user/passes (if there isn't one master user/pass that can query all the db's), then there you go. A quick htpasswd protection for the script and Bob's your Uncle.

                  For coding work - hit me up on andy // borkedcoder // com
                  (consider figuring out the email as test #1)



                  All models are wrong, but some are useful. George E.P. Box. p202

                  Comment

                  • Reak AGV
                    Confirmed User
                    • Dec 2004
                    • 4283

                    #10
                    Doesn't sound very hard to me, it can be done.

                    Need Mainstream Content and SEO?
                    SEO * Website Copy * Blogs
                    Blogging - PR Work - Forum Marketing - Social Marketing - Link building - Articles
                    100% Guaranteed Content!

                    Comment

                    • polle54
                      Confirmed User
                      • Jul 2004
                      • 4626

                      #11
                      Originally posted by marcjacob
                      Not that difficult.

                      Especially if the script that does this has mysql access to all the blogs.


                      Exactly with mysql access I think I can code that in 4 hours. depending on demands to the GUI and usability.

                      $100/hour.
                      ICQ# 143561781

                      Comment

                      • fris
                        Too lazy to set a custom title
                        • Aug 2002
                        • 55679

                        #12
                        not hard at all, you would just parse each blog db for the title or whatever, you can check published, or in the queue.
                        Since 1999: 69 Adult Industry awards for Best Hosting Company and professional excellence.

                        Comment

                        • fris
                          Too lazy to set a custom title
                          • Aug 2002
                          • 55679

                          #13
                          heres a small snippet, just an example how its done, but you would need to build a db of sites that it would parse.

                          and of course change published to future

                          PHP Code:
                          <?php
                          $how_many=15; //how many posts to display
                          require('blog1/wp-config.php'); //the path to the wp-config file of the blog I want to use
                          $news=$wpdb->get_results("SELECT 'ID','post_title','post_content' FROM $wpdb->posts WHERE 'post_type'=\"post\" AND 'post_status'=\"publish\" ORDER BY post_date DESC LIMIT $how_many"); 
                          
                          foreach($news as $np){
                          printf ("<div class='normalText'>%s</div>", $np->post_content);
                          }
                          
                          ?>
                          Since 1999: 69 Adult Industry awards for Best Hosting Company and professional excellence.

                          Comment

                          Working...