Support » Everything else WordPress » Should Dashboard Feed be in Database?

  • 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!

Viewing 7 replies - 1 through 7 (of 7 total)
  • yes, its normal.

    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.

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

    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.

    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.

    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”

    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.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Should Dashboard Feed be in Database?’ is closed to new replies.