=== We Fix Your Broken Links ===
Contributors: rweil55, Roy Weil
Tags: broken links 
Requires at least: 4.6.1
Tested up to: 4.9.5
Stable tag: 2.2.3	
License: private


Broken Links is a system to support https://brokenlinks.royweil.com 

== Description ==

Broken Links provide support for the application at https://brokenlinks.royweil.com .
This app is designed to find and suggest fixes to broken web site links. 

== Installation ==

1. Upload the Broken Links plugin file (`broken-links-M.m.b.zip`) to the `/wp-content/plugins/` directory
2. Activate the plugin through the 'Plugins' menu in WordPress
3. Build the neccesary pages eith approperate short codes.

== Frequently Asked Questions ==

= Can I use thia application?   =

No. It is intended for internal and paid client use. Acessed via https://brokenlinks.royweil.com

= How often is the data updated? =

Typically on a monthly basis, or when requested.

== known errors ==
None

== Upgrade Notice ==
Still a work in progress. 
When processing a new site we typically discover a new redirect description to add

== Changelog ==
 == 2.2.12 ==
    Clarify		Reworded the email  
	Feature		in debug mode, add the text of the line that had the problem 
	Fix			detecton of he jsapi?ver=6.3.2 line as ignore
	Refactor	in gather data, changed the $line variable to  $linexxxx to indicate what sould beon the line
	
 == 2.2.11 ==
    Refactor    changed require to use common diretort www_includes
 
= 2.2.10   2019-11-14 =
	Fixed		https://www.paypalobjects.com/ - no loger gives forbidden
	Fixed		https://ajax.googleapis.com/  - no loger gives redirect
	fixed		https://developers.google.com/s  - no loger gives redirect
	
= 2.2.9 =
	Refactored: Test for the pluscodes in google maps
	Added: Test to eliminate amazon smile links when ein match
	Fix: in broken_links_fetchSiteId on error corrected the throw parameter
	Fix: in broken_links_displayDomains fixed spelling of errorEol

= 2.2.8
	fixed: Changed MaxEntieis to 3000
	fixed: added static to the fetchinteger routine
	fixed: added sql_clean to saving of the bad/good URLs
= 2.2.7
	Feature: Add the "old" button to the upload form
	Feature: Add the "new" button to the upload form
	Internal: changed calls from processXenu to the calls to the ProcessOneFile
	refactored: Pocessing of the "file" parameter
= 2.2.6 =
	deleted: Some debugging print out on the upload routine
	Fix: added the DisplayDropDown routine to the display_table
	FFeature: Added sortcode [broken-links-TableSites] to allow updte of owner and email
	Internal: Refactored the import to setup/use the sites table.
	Internal: refactored the processing of input parameters on the import
= 2.2.5 =
	Feature: Added sort by certain owner strings
	feature: Added field owner to group sites by typw of site
	Feature: Added count of the munber of sites
= 2.2.4 =
	Internal: Added new table brokenliks_sites
	Internal: Used the sites/owner in the sort of the list of possible items
= 2.2.3 =
	Feature: Added "google Drive" to the detected type
	Feature: Added "tiny URL" to the detected type
= 1.2.2      23 Mar 2018
	Feature: Color coded the number of errors in the available domain list
= 1.2.1      23 Mar 2018
	Update: another try at: changed all the rrwUtil_ calls to rrwUtil::
= 1.1.99	 23 Mar 2018
	Add: test for detecting "top level url" accept bad link of top level url pointing to "home" file
= 1.1.98  04 Mar 2018
	Update: change code to use the newer rrw_util_inc
	Update: changed all the rrwUtil:: calls to rrwUtil::
	Documentation: Clarified the not an amaazon like error message
= 1.1.97
	moved the rrw_seach...php files to obsolete
	removed the add_shortcode ("broken_links_search")
= 1.1.96
	added code to handle word press rss feeds 
	fixed RSS code when one of the links is not an RSS feed, but the other is
	added code to detect amazon redirect to the same isbn
	added error message redirection loop when badlink and suggested link are the same
	refactored the google map coordinate compare routine
	refactored the google map coordinate compare routine to handle rounding errors
= 1.1.95
	added comments to the counting of problems
	added a link to the '--' in the display fo site data
	Cause the append of "accepted" or "fixed" not to occur multiple times
	made the sring feed=rss as an accepted item
	added code to extract coordinates from the google map urls to accept equals
= 1.1.94
	addded code to have a type of Blocked domain
	refactored the check for kow domain ssetting type
	Revised the determine type routine to work on block site accepted
	added instruction for bloccked domain and redirected domains
	remoed some of the setting of suggested from found link
= 1.1.92
	revised acces to the wayback machine
	eliminaed the search page
	revised some of the instruction text
	added white space on display of list of 
	revised headings on the price and requieemnet page
=1.1.91
	Added the site key test to the verify links code
	added the string routine to gav the instruction text
=1.1.90
	make goole.com/maps/place/nn.nnnnn,nn.nnnnn not show up as an error
= 1.1.89
	fixed keyname routine ti handle ttp:// correctly 
= 1.1.88
	Modified rrw_kwyname ro adjust for https://
	added routine determineTypeIfAccepted to proprogate the "accepted" status forward
	in DisplayOneRowCount fixed the link to site at the start of the displayOneSite
	in DisplayOneRowCount fixed the $currenturl to handle https vs http
= 1.1.87
	changed process count to 10 file
	added parameter for max entries, and more useful error message
= 1.1.86
	Fixed the skipping routine
	remove the double out of the all messages
	showed the filed skipped
	fixed link to the tgh-xxxx.htm file in upload all
= 1/1/85
	added the require of functionRweil_inc
	created the routine rrwUtil::print_r
	added /wp-admin/ to not write to database
	changed type of amazon smile
	added type of cdnrawgit.com, //cdnjs.cloudflare.com/" to not write to database arrays
	created a determineTypeForTemporaryMove rutine
	added type of google.com/maps,amamzon smile to determineTypeForTemporaryMove routine".
	removed confusion about sitekey and scanned url  rrw_update_domain vs import
	improved error message E360
= 1.1.84
	set the width of the color blocks
	remove the display of the results of the update
	removed extra space between descrition text and the color blocks
= 1.1.83
	Added the color squares for fixed and accept
	caused the "fixed" to diappear the item
	Added the accept option to the processFix routine
	Modifed updateitem.php to use the textAppend parameter
	Modified listing routine to green count the accepted
	Added instructions
	changed  a fixed link in the processFix routine to a calulated link
= 1.1.82
	added a write_log in the javascript routine
	changed https//:borkenlinks... to https://brokenlinks...
= 1.1.81
	added the fixed checkbox to the display of "Found Link:"
	removed blank line in header in file display-site-data
	changed update link in the javascript to brokenlinks
= 1.1.80
	fixed the url link for "on Page"
	added link to the suggested url
=1.1.79
	Fixed congradulatiions file was uploaded message to display file name
	created routine to remove the query string from a link.
	fixed the determine type routine to output meaningfil message on for error code 302 and 522
	fixed the determine type rouitine to correctly detect for extra slash on end
	changed code to dtect difference between missing or extra www
	changed code to dtect difference between missing or extra slash
=1.1.78
	refactor code to deal with http vs htts - created several parrellel routine http, nohttp
	fixed from link to acccept both http and https as liked from links
	Added source file like to the time display
	added s.w.org to list of ignore redirects
= 1.1.77
	Fixed the check for the number of pages that link to the error
	Added the email on the outut if there was one already assigned some version
	Addes the file name to the Congradulations message
= 1.1.76
	added the proprogaton of the email address
= 1.1.75
	fixed error with linnk on line that said "no questionable links found
= 1,1,74
	fixed error message when there are no entries of a particular e-mail/type
	fixed click on upload with a salsh
=1.1.73
	added split of mine vs theres in display of all
= 1.1.72
	remove the https from the scanned url
= 1.1.71
	remove display of okay and fixed itmes from the total list of questionalbe links
= 1.1.70
	removed debug of lat_error in verify
= 1.1.69
	fixed insertsuggested
= 1.1.67,68
	sorted the file list for the all option
= 1.1.66
	Added check for last_error in the verify 
= 1.1.65
	messed with imoet and amazon smile, and tinyurl
= 1.1.64
	remove extra slash on the diteNameDisplay
= 1.2.62,63
	removed debugging
	added a curlsetopt ( ,CURLOPT_TIMEOUT,12) to deal with php error on the badlink site
	linked teh sirename to display tahat site
= 1.1.60
	debugging - write)log lines added
= 1.1.59
	Added error check on the wpdb call looking for badlinks
=1.1.57,58
	Made the routinek to eliminTE False positives work.
= 1.1.56
	Added the routinek to eliminTE False positives.
= 1.1.54,55
	Added check for administator on the display SQL and create tables.
	cleaned up utils.php to remove the routine that are in functionRweilUtils
= 1.1.53
	Change brokenlinsSqlClean to rrwUtil::SQLclean
=1.1.52
* changed line search from data:application to data: to handle data:image
= 1.1.51
* changed found like to href

- 1.1.50
* skip as none redirect some social media urls 

= 1.1.49
* changed the messages for the display of single site

= 1.1.48
* adde the $ignoreThese variable to deal with ihearttrails

+1.1.47
* change the all options to look at the upload/scan directory
* change the all option to work in groups of 20
* available domains display to only show the site names and not the detail information (speed up)
* added the broken count to the available domains display

= 1.1.46
* intoduced rrwUtil:: for a number of routines

= 1.1.45
* added the all option to the upload
* removed printout of the found line.
* changed sqlClean() to brokenLinksSQLclean()
* minor edit to the email message

= 1.1.44 =
* fixed location of print out

= 1.1.43 =
* Added list of available sites on home page

= 1.1.42 =
* removed a bunch of write_logs
* removed mess1 messages
* revised status printout to show okays with no questionalbes 
* revised status printout to elimininat print out at the end of routine

= 1.1.41 =
* fix another problem with quotes


= 1.1.39,40 =
* another attempt at correcting the next problem

= 1.1.38 = 
* Attempt to fix the incorrect next problem
* fix the problem with quotes

= 1.1.37 =
* spell check blieves
* make the first buton work in search by removing the disable

= 1.1.36 =
* spacing in subject line of e-mail
* another attempt at wroding of the e-mail
* spell check the e-mail

=1.1.35 =
* opening windows on a load (not wroking)
* change redirected to redirect
* implement the 'next option on change of status
* Added Okay and Fixed buttons
* Modifed displaysite to work for page and email
* exracted out a DisplayOneRow Routine from Display domains
* adde better recovery for messed up file E391 error

= 1.1.34 =
* reworded the email
* added pointer to personal website
*fixed the missing table to get okay display

= 1.1.33 =
* fix font error
* Fixed table display option

= 1.1.32
* first pass at the email message
* modified delete page to accept an email click

= 1.1.31 =
* changed length test of a number from 4 to 6 in rrwUtil::fetchparameterNumber
* added the shortAttribute parameter to the fetchparameter routines
* modififed display domains to accept site, list, key in shortcode
* first pass at e-mail

= 1.1.28, 29,30 =
* test the new update procedure

= 1.1.27 =
* added siteid parameter to the display site sql
* removed a bunch of write_logs
* remmoved the duplcate question message
* create mdgBiuld to cetrallize messages
* changed "not nown" t "broken"

= 1.1.26 =
* added smile.amazon.com to the ignore list
* changed ignore code to deal with https://brokenlinks and https:
* changed type good to work with bad/good not empty
* in determine type removed // from hostpath variables
* in determine type changed type "loop" to "hidden"
* added .kmz to the links not to enter into database
* added a target to all <a href
* fix sort order on delete
* added use of showme on display sites

= 1.1.25 =
* added history record to the domain table
* sort the delete list by source
* change type to no connection based on error description
* color error message 

= 1.1.24 =
* third attept to retriving past information

= 1.1.23 =
* added targets to all the search links
=1.1.22 =
* fix compile error

= 1.1.21 =
* second attempt at retriving past information
* added bettor sorts to the display sql

= 1.1.20 =
* Add the discard of the fpcount.exe and counter.js
* added the link type of 'redirect tinyurl'
* added the link type of http -> https - embed plugin okay
* added the link type of wp feed missing
* changed from ascii to utf8 to fix the import and counting errors
* changed sequence of the status display
* fixed order of update of status when done by comment
* changed a lot of get_row to get_results
* changed a few strpos()>0 to strpos() !== false
* First past at retriving past info.

= 1.1.19 =
* aded the delete site feature

= 1.1.18 =
* fixed the many, many, many problem

=1.1.17 =
* fixed the duplicate reporting problem

= 1.1.16 =
* first stable release

=1.0.0 through 1.1.15 
* development of the plugin