Latest Blog post Display on PhpLD ?

Discussion in 'Directories' started by Red_Virus, Nov 25, 2007.

  1. #1
    Hi Guys,

    I just stumbled upon this idea of displaying the latest blog posts (the blog is on a other site) on the phpLD. I think that this can be done with the help of RSS. But I am still not sure.

    I searched but did not found a mod that can do something like this. Is there a free one available ?

    Please help me.

    Amit :)
     
    Red_Virus, Nov 25, 2007 IP
  2. WatchOut

    WatchOut Guest

    Messages:
    1,359
    Likes Received:
    65
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Do you mean like Web Catalogue?

    Displaying the latest blog posts, archive and search function :)

    Meti
     
    WatchOut, Nov 25, 2007 IP
  3. mikey1090

    mikey1090 Moderator Staff

    Messages:
    15,869
    Likes Received:
    1,055
    Best Answers:
    0
    Trophy Points:
    445
    Digital Goods:
    2
    #3
    There isn't a free mod i don't think. All those like alive directory using it have it custom coded.
     
    mikey1090, Nov 25, 2007 IP
  4. dargre

    dargre Peon

    Messages:
    1,007
    Likes Received:
    161
    Best Answers:
    0
    Trophy Points:
    0
    #4
    Just look at your database, where posts from blog are stored.
    Than build MySQL query in init.php before any other phpld-db query, and finaly somewhere at the end of init.php assign query result to template.
    This is 5 minutes max. Then put it on your template. Another 5 minutes for styling :)

    - D.
     
    dargre, Nov 25, 2007 IP
  5. loredan

    loredan Well-Known Member

    Messages:
    1,647
    Likes Received:
    238
    Best Answers:
    0
    Trophy Points:
    185
    #5
    As you did it on Zyas (just to show him how it looks like) :D

    Under the "Latest News" Dargre made this trick :)
     
    loredan, Nov 25, 2007 IP
  6. mikey1090

    mikey1090 Moderator Staff

    Messages:
    15,869
    Likes Received:
    1,055
    Best Answers:
    0
    Trophy Points:
    445
    Digital Goods:
    2
    #6
    I think amit wants to show blog posts from a different site so pulling the data straight from the DB isnt possible, thats why he wants to parse his RSS feed.
     
    mikey1090, Nov 25, 2007 IP
  7. dargre

    dargre Peon

    Messages:
    1,007
    Likes Received:
    161
    Best Answers:
    0
    Trophy Points:
    0
    #7
    It's still possible with some tricks on both sides.
    Also can be parsed from RSS, you're right mikey1090 about that.
     
    dargre, Nov 25, 2007 IP
  8. Red_Virus

    Red_Virus Well-Known Member

    Messages:
    3,756
    Likes Received:
    249
    Best Answers:
    0
    Trophy Points:
    135
    #8
    Yes that is correct Mikey & Dargre, I want to parse the RSS feed from my directory blog on domain X to my phpLD directory on domain Y. Also want to make sure that this is not done by a javascript on my phpld as I want backlinks for my blog posts from my directory ;)
     
    Red_Virus, Nov 25, 2007 IP
  9. mikey1090

    mikey1090 Moderator Staff

    Messages:
    15,869
    Likes Received:
    1,055
    Best Answers:
    0
    Trophy Points:
    445
    Digital Goods:
    2
    #9
    Tricks can include changing server settings like external mysql connection permissions, which may not be possible on shared hosting. I'm sure you know this anyway.

    It would be done with server side code - php so would be crawlable.
     
    mikey1090, Nov 25, 2007 IP
  10. SasaVtec

    SasaVtec Notable Member

    Messages:
    1,588
    Likes Received:
    150
    Best Answers:
    0
    Trophy Points:
    275
    #10
    This is pretty easy actually, Ive had this from the start getting blog posts and showing them www.directorymix.com under the categories you will notice DIR BLOG and TEMPLATES BLOG if you are using feedburner which you should simply use the Publicize Feature and play around with the settings the way you want to display the news, then simply get the code and paste it where you want it to show.
     
    SasaVtec, Nov 25, 2007 IP
  11. YIAM

    YIAM Notable Member

    Messages:
    2,480
    Likes Received:
    240
    Best Answers:
    0
    Trophy Points:
    280
    #11
    YIAM, Nov 25, 2007 IP
    Red_Virus likes this.
  12. Red_Virus

    Red_Virus Well-Known Member

    Messages:
    3,756
    Likes Received:
    249
    Best Answers:
    0
    Trophy Points:
    135
    #12
    Red_Virus, Nov 25, 2007 IP
    YIAM likes this.
  13. dargre

    dargre Peon

    Messages:
    1,007
    Likes Received:
    161
    Best Answers:
    0
    Trophy Points:
    0
    #13
    Even didn't think of it. Just some php and fetching url.
     
    dargre, Nov 25, 2007 IP
  14. Malatya

    Malatya Active Member

    Messages:
    710
    Likes Received:
    14
    Best Answers:
    0
    Trophy Points:
    60
    #14
    Really good and helpfull idea, i will try
     
    Malatya, Nov 25, 2007 IP
  15. DownUnder

    DownUnder Well-Known Member

    Messages:
    1,251
    Likes Received:
    152
    Best Answers:
    0
    Trophy Points:
    105
    #15
    LINK Using feed burner you can bring in any blog etc, it will depend if you can get to your source code and edit that,( hit the refresh button top right ), i have them roataing but more coding, and will have them specific to catagory / sub catagory,.
     
    DownUnder, Nov 25, 2007 IP
  16. mikey1090

    mikey1090 Moderator Staff

    Messages:
    15,869
    Likes Received:
    1,055
    Best Answers:
    0
    Trophy Points:
    445
    Digital Goods:
    2
    #16
    php and fetching an RSS url does the job aswell;)
     
    mikey1090, Nov 25, 2007 IP
  17. floppydrivez

    floppydrivez Peon

    Messages:
    453
    Likes Received:
    51
    Best Answers:
    0
    Trophy Points:
    0
    #17
    I used the rss mod to mine on lobo links, because the directory and blog are in different databases.

    I just can't remember where I got the dumb mod at.
     
    floppydrivez, Nov 25, 2007 IP
  18. Intlws

    Intlws Peon

    Messages:
    36
    Likes Received:
    8
    Best Answers:
    0
    Trophy Points:
    0
    #18
    Here is a free mod with install instructions included that should fetch and parse any feed you would want.
    Free Rss mod
    Requires no database changes.

    The link shows a sample of news feeds. You can set it up to pull in yours or others blog feeds or articles and set it to cache the results.
    This may be an easy option for anyone wanting to display feeds on their directory.
    You can download the zip file instantly from the site.
     
    Intlws, Nov 25, 2007 IP