WordPress.org

Ready to get started?Download WordPress

Forums

Should Dashboard Feed be in Database? (8 posts)

  1. mikedev
    Member
    Posted 4 years ago #

    Looking at my database, I noticed that the dashboard feeds for "WordPress Development Blog" and "Other WordPress News" are in my database. Is that okay and normal? If it's a feed, why is my database storing it? Is it like a cache to improve the speed of the dashboard display?

    Thanks!

  2. whooami
    Member
    Posted 4 years ago #

    yes, its normal.

  3. s_ha_dum
    Member
    Posted 4 years ago #

    The URLs for those feed are in the database, right? Not the actual feed content? Its normal to have the URLs in the DB. WP installs those dashboard feeds automatically. They keep you updated on changes, problems, new features... good idea, I think.

    If it's a feed, why is my database storing it?

    The feed address would have to be stored somewhere or WP wouldn't know where to look to find it. It could be hard-coded but keeping the value in the DB is much more flexible.

  4. whooami
    Member
    Posted 4 years ago #

    as I said, its normal. ALL of the feeds are cached inside the db. NOT urls -- contents.

  5. whooami
    Member
    Posted 4 years ago #

    WP installs those dashboard feeds automatically.

    thats false. the feed urls are coded into the core. Please look inside wp-admin/dashboard.php

    The content of the feeds are cached inside the database.

  6. s_ha_dum
    Member
    Posted 4 years ago #

    That's wp-admin/includes/dashboard.php.

    thats false.

    False is a bit harsh. Obviously, if WP is going to install URLs, those URLs have to be present in the code somewhere. At any rate, hard coded or not, though, they are installed automatically, and it looks to me like the links are installed into the DB (which is what the initial poster was talking about) under option_name = dashboard_widgets_options in wp_options, which brings me to my next question.

    What are the links in the serialized array in the option_value of wp_options under option_name = dashboard_widgets_options ?

    Also, where are the feeds cached in the DB? Under which key in which table? I can't find them, but I only looked through wp_options briefly. I'd be interested to know.

    Also, why is it that editing the feed URLs in dashboard.php results in no change in the feeds?

    Also, why can you comment out that whole section of URLs in dashboard.php and nothing breaks? At least, you can after the blog is installed?

    Also, why is it that if you edit the URLs in the DB the feed fails?

    Just curious. Help me out. Seriously.

  7. whooami
    Member
    Posted 4 years ago #

    That's wp-admin/includes/dashboard.php.

    Ok, so we're even, with my typo. I know what I meant.

    and it looks to me like the links are installed into the DB (which is what the initial poster was talking about) under option_name = dashboard_widgets_options in wp_options ...

    you get that, out of this?:

    I noticed that the dashboard feeds for "WordPress Development Blog" and "Other WordPress News" are in my database. Is that okay and normal? If it's a feed, why is my database storing it? Is it like a cache to improve the speed of the dashboard display?

    ok.

    Also, where are the feeds cached in the DB?

    That depends on the version of wordpress. Look in your backup.

    In 2.8.4 the inserts look like this:

    INSERT INTOwp_optionsVALUES (206, 0, '_transient_feed_0ff4b43bd116a9d8720d689c80e7dfd4',..... (a WHOLE LOTTA STUFF .... ) GMT";s:6:"server";s:9:"LiteSpeed";s:10:"connection";s:5:"close";}s:5:"build";i:20081219;}', 'no');

    In earlier versions you could find them by searching for "MagpieRSS"

  8. s_ha_dum
    Member
    Posted 4 years ago #

    you get that, out of this?:

    Actually, you'll notice that I asked what the poster meant then went with an assumption that may well prove wrong, but it was up front.

    In earlier versions you could find them by searching for "MagpieRSS"

    There we go. Got it. Thanks.

Topic Closed

This topic has been closed to new replies.

About this Topic