Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
THRUST SERVICES & TOOLS
CLOUD EDITIONS
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Web CMS (TeamSite)
Taking care of embedded files
System
Hi,
How do you guys take care of embedded files like images etc inside the HTML?
When I'm deleting/expiring/Archiving the HTMLs, I dont know what to do with the images.
There is a possibility that same images are shared by various HTMLs, so just removing the image when the HTML is removed could be dangerous.
Another issue is getting the image names itself.
I've 2 types if HTMLs
a) Generated thru templates: I can get the image names from the DCRs.
b) Directly uploaded HTMLs (images are uploaded separately into correct folders by the user: )
Taking care of the type (b) HTMLs is seems more difficult because I'll need to traverse the HTML and look for the 'img' tags inside the HTML.
Whats the best practice to take care of this?
TIA
Find more posts tagged with
Comments
LooseCannon
just leave them...disk space is cheap!
gzevin
well, I know of places that do not expire whole sites....
Greg Zevin, Ph.D. Comp. Sc.
Independent Interwoven Consultant/Architect
Sydney, AU
Migrateduser
For expiring documents, its possible to leave the images and expire only the HTMLs.
But for archival, I need to move (or at least copy) the files from TS branch to another location.
How can I move imported HTMLs to another folder/branch?
I'll need to copy the embedded images as well.
Whats the recommended practice for archiving content?
Does anyone have a script to parse HTML and return a list of image files? Would appreciate if anyone can share it.
TIA