make xml_dump available as a string #17

Closed
rmccue opened this Issue Sep 29, 2009 · 2 comments

Comments

Projects
None yet
1 participant
@rmccue
Contributor

rmccue commented Sep 29, 2009

Originally reported by Julian Bond as issue 72

In order to make my caching and fetching scheme more efficient, I had a need to know whether a feed had changed. So what I was doing was taking an MD5 hash of the sanitised output storing it and comparing it. Two things would make this easier. The fetching scheme is to back off collection if the feed is changing much and fetch more frequently if it keeps changing.

  1. Providing xml_dump as a string that can be queried rather than echoing it out as a web page. Somewhere around line 1778 set a public variable $this->clean_source = $data;
  2. Expose something in the cacheing scheme to tell the program if the feed has changed.
@rmccue

This comment has been minimized.

Show comment Hide comment
@rmccue

rmccue Jun 1, 2011

Contributor

This currently doesn't work if the cache is used, as the XML is never actually stored. Currently debating whether to try and work around this or not.

Contributor

rmccue commented Jun 1, 2011

This currently doesn't work if the cache is used, as the XML is never actually stored. Currently debating whether to try and work around this or not.

@ghost ghost assigned rmccue Jun 1, 2011

@rmccue

This comment has been minimized.

Show comment Hide comment
@rmccue

rmccue Sep 19, 2011

Contributor

I'm going to leave this as-is, and call it fixed.

Contributor

rmccue commented Sep 19, 2011

I'm going to leave this as-is, and call it fixed.

@rmccue rmccue closed this Sep 19, 2011

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment