WordPress.org

Forums

Yet Another Daily Delicious (6 posts)

  1. nozell
    Member
    Posted 10 years ago #

    I've released a del.icio.us/WordPress hack that dumps just
    today's shared bookmarks into a new entry -- See:
    http://nozell.com/blog/archives/2004/09/17/yet-another-dailydelicious-hack-for-wordpress/
    It was derived from Stephen Eyre's original dailydelicious.
    See: http://www.dot-totally.co.uk/dailydelicious.txt
    Enjoy,
    -marc

  2. Jark
    Member
    Posted 10 years ago #

    i modified the code for use on my site so that the tags are clickable links. i did this by adding the following directly after the } else { statement within the startElement function:
    $deltags = explode(" ", $attrs['TAG']);
    foreach($deltags as &$delicioustag)
    $delicioustag = '
    '">' . $delicioustag . '
    ';
    $deltags = implode(" ", $deltags);

    Obviously replace "jark" with your own username if you to make the links clickable for your profile.
    Thought someone might find that useful as I find this script, in and of itself, invaluable.

  3. allthewhile
    Member
    Posted 10 years ago #

    Hey if anyone in here knows php I'll love them forever. I can't get the tags to work as links like jark said his script would.

    help!!

  4. Daisyhead
    Member
    Posted 10 years ago #

    I'm having a problem with this as well:

    Fatal error: Call to undefined function: current_time() in /xxx/xxx/public_html/filename.php on line 150

    This is what is listed on line 150 of the file:

    $now = current_time(’mysql’);

    Do I need to modify anything here:

    # Get today, and make timestamp
    $today = getdate();
    $date = mktime(0,0,0,$today['mon'], $today['mday'], $today['year']);
    $longdate = strftime('%A, %d-%B-%y',$today);

    Could this be what is causing the problem??

    Btw, I recently updated to WP 1.5

  5. Daisyhead
    Member
    Posted 10 years ago #

    Solved this one. I had my absolute path wrong.

  6. karlyn
    Member
    Posted 8 years ago #

    I'm interested in this, but the page leads to error. :(

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.