 <!---
+	dependencies:
+
+		create table cf_temp_doc_page_link (frm varchar2(4000),rawtag varchar2(4000),id varchar2(4000));
+
+
+
 	crawl through all code and get the helpLinks
 	make sure they all exist in ssrch_field_doc
 

<cfif action is "getLinks">
<cfset res=  DirectoryList(Application.webDirectory,true,"path","*.cf*")>
<cfoutput>
	<cftransaction>
	<cfloop array="#res#" index="f">
		<!--- ignore cfr etc --->
		<cfif listlast(f,".") is "cfm" or listlast(f,".") is "cfc">
			<br>#f#
			<cffile action = "read" file = "#f#" variable = "fc">
			<cfif fc contains "helpLink">


				<br>l: <cfdump var=#l#>

				<cfloop array="#l#" index='h'>
					<!----
					h: <textarea rows="4" cols="80">#h#</textarea>
					---->
					<cfset go=false>
					<cfif h contains 'id='>
						<cfset go=true>

						<cfset idSPos=find("id=",h)+4>
						<cfset nqPos=find('"',h,idsPos)>
						<cfset theID=mid(h,idSPos,nqPos-idSPos)>
						<cfif left(theID,1) is "_">
							<cfset theID=right(theID,len(theID)-1)>
						</cfif>

					<cfelseif h contains 'data-helplink='>
						<cfset go=true>

						<cfset idSPos=find("data-helplink=",h)+15>
						<cfset nqPos=find('"',h,idsPos)>
						<cfset theID=mid(h,idSPos,nqPos-idSPos)>
						<cfif left(theID,1) is "_">
							<cfset theID=right(theID,len(theID)-1)>
						</cfif>

					</cfif>
					<cfif go is true>
						<cfquery name="d" datasource="uam_god">
							insert into cf_temp_doc_page_link(frm,rawtag,id) values ('#f#','#h#','#theID#')
						</cfquery>
					</cfif>
					<!----
