Re: Finding unused hdf data

Culley Harrelson <[email protected]> Mon, 13 Apr 2009 05:07:27 -0700
Newsgroups gmane.text.clearsilver.general
Message-ID <20090413120727.GA27312@bridge>
My efforts are mostly to make translation more efficient.  So, say I had a
hdf file with this item:

Strings.hello [Lang] = hello world!

Once upon a time this was used by a cs file but the page was redesigned and
it is no longer used anywhere.  I want to get these old items out of the
system so people aren't translating them.


On Mon, 13 Apr 2009, David Jeske wrote:

> What do you mean by "no longer used"?
> 
> Typical HDF/CS usage has tons of HDF data which is never used. When I use it, I
> make standardized exporters that dump structured data into HDF whenever that
> type of element is used, and they always contain all the data (even if you only
> need some of it).
> 
> Brandon and I have had some conversations about some kind of DTD-like checking
> system long-long ago, but we didn't really iron out details.
> 
> Can you explain a little more of the way you're doing work and what problem
> you're running into?
> 
> -- culleyharrelson wrote:
> > Does anyone have a script that takes a cs file and a hdf file and scans the
> cs
> > file for each hdf data item?, reporting on hdf items that are no longer used?
> > I need to audit my hdf data.  I am getting ready to write something like this
> > and don't want to reinvent the wheel...