stephenjbell

dotCMS - List of all pre-1.9 content in the system

Jul 21st, 2011
142
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.36 KB | None | 0 0
  1. ## Displays all pre-dotCMS 1.9 content identifiers (numeric) for a specific query
  2. ## to make for easier deleting of old content
  3.  
  4. #foreach($content in $dotcontent.pull("",5000,"modDate desc"))
  5. #if($content.identifier.matches("[0-9]{0,10}"))
  6. ## $content.identifier $content.structure.velocityVarName: $content.title <hr/>
  7. $content.identifier,
  8. #end
  9. #end
Advertisement
Add Comment
Please, Sign In to add comment