]> git.wh0rd.org - tt-rss.git/blobdiff - include/rssfuncs.php
modify include path order (closes #514)
[tt-rss.git] / include / rssfuncs.php
index c273cc3c4e48600fea3ff5e94d8a05fe3b4ae84a..b5949d720dc82cb860d310df5fd8bc9074d1a650 100644 (file)
                                        if (!$entry_guid) $entry_guid = make_guid_from_title($item["title"]);
                                }
 
+                               if ($cache_content) {
+                                       $entry_guid = "ccache:$entry_guid";
+                               }
+
+                               if ($auth_login || $auth_pass) {
+                                       $entry_guid = "auth,$owner_uid:$entry_guid";
+                               }
+
                                if ($debug_enabled) {
                                        _debug("update_rss_feed: guid $entry_guid");
                                }
 
                                        if ($cache_content) {
                                                if ($debug_enabled) {
-                                                       _debug("update_rss_feed: caching content...");
+                                                       _debug("update_rss_feed: caching content (initial)...");
                                                }
 
                                                $entry_cached_content = cache_content($link, $entry_link, $auth_login, $auth_pass);