Activity Stream
48,167 MEMBERS
62625 ONLINE
besthostingforums On YouTube Subscribe to our Newsletter besthostingforums On Twitter besthostingforums On Facebook besthostingforums On facebook groups

Results 1 to 3 of 3
  1.     
    #1
    Member
    Website's:
    LulzCovers.com LulzTroll.com

    Default WCDDL RSS - Simplified

    Save the code as rss.php
    place rss.php in your wcddl dir where funcs.php is stored.
    it works for wcddl v2.1

    demo: http://the-ddl.org/rss.php

    Code: 
    <?php
    header("Content-type: application/rss+xml");
    date_default_timezone_set('Europe/London');
    include "funcs.php";
    
    
    $query = mysql_query("
    SELECT * FROM wcddl_downloads order by id desc limit 0, 50;
    ");
    
    ?>
    <rss version="2.0">
    <channel>
    
    <title><?=$core->sitename?> - Latest Downloads</title>
    <description>Latest 100 Downloads</description>
    <link>$core->siteurl</link>
    
    <?php
    
    while($dl = mysql_fetch_array($query)) {
      echo "
      <item>
        <title>[".$dl['type']."] ".htmlspecialchars($dl['title'])."</title>
        <description>Type: ".htmlspecialchars($dl['type']).", Site: ".htmlspecialchars($dl['name'])." (".htmlspecialchars($dl['url']).")</description>
        <link>$core->siteurl/download-".htmlspecialchars($dl['type'])."-".htmlspecialchars($dl['id'])."-".seoname($dl['title']).".html</link>
       <pubDate>".date("D, d M Y H:i:s +0100", $dl['dat'])."</pubDate>
      </item>
      ";
    }
    
    ?>
    
    </channel>
    </rss>
    You can customize the sql for your limits.. here it takes first 50 downloads from the queue.



    Regards.


    Edit:
    To have this working you need to seo your links as instructed here by DEViANCE: http://warezcoders.com/forum/viewtopic.php?f=15&t=835
    deAthbLisS Reviewed by deAthbLisS on . WCDDL RSS - Simplified Save the code as rss.php place rss.php in your wcddl dir where funcs.php is stored. it works for wcddl v2.1 demo: http://the-ddl.org/rss.php <?php header("Content-type: application/rss+xml"); date_default_timezone_set('Europe/London'); Rating: 5
    Contact me for Traffic, SEO, WCDDL, Wordpress, IPB related Services or queries.
    Template Designing, PSD to HTML, Wordpress


  2.   Sponsored Links

  3.     
    #2
    Member
    Thanks nice share
    (.*??)
    .?.?.?.?*??) .........?.?*?)........
    (?.??BuzzScene.(?.?*??)
    ............(?.??.....................(?.??*?`)

  4.     
    #3
    Member
    Website's:
    speeddl.com mcgrhill-warez.com
    I Was Added But Some Error

    XML parsing failed

    XML parsing failed: syntax error (Line: 8, Character: 0)

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Simplified Logos, Guess now!
    By jokerhacker in forum General Discussion
    Replies: 9
    Last Post: 18th Aug 2011, 02:33 PM
  2. WCDDL Sitemap - Simplified
    By deAthbLisS in forum Web Application/Script Support
    Replies: 5
    Last Post: 29th Jun 2011, 03:29 PM
  3. WCDDL Link Exchange Module Simplified
    By deAthbLisS in forum Web Application/Script Support
    Replies: 2
    Last Post: 8th May 2010, 12:38 PM
  4. WCDDL Help
    By IKILL3RI in forum Web Application/Script Support
    Replies: 13
    Last Post: 16th Jan 2010, 12:58 PM
  5. vB-WCDDL
    By frontlinegamerz in forum Completed Transactions
    Replies: 29
    Last Post: 26th Sep 2009, 03:28 PM

Tags for this Thread

BE SOCIAL