awesome updates to help.html page

This commit is contained in:
mwells
2014-08-27 22:21:30 -07:00
parent 51baca8917
commit e7aa933959
2 changed files with 48 additions and 19 deletions

@ -2678,6 +2678,16 @@ bool sendPageHelp ( TcpSocket *sock , HttpRequest *hr ) {
"<br>"
"<table width=650px cellpadding=5 cellspacing=0 border=0>"
""
// yellow/gold bar
"<tr>"
"<td colspan=2 bgcolor=#f3c714>"
"<b>"
"Basic Query Syntax"
"</b>"
"</td>"
"</tr>\n"
"<tr bgcolor=#0340fd>"
""
"<th><font color=33dcff>Example Query</font></th>"
@ -2833,13 +2843,17 @@ bool sendPageHelp ( TcpSocket *sock , HttpRequest *hr ) {
// new table?
if ( g_fields[i].m_flag & QTF_BEGINNEWTABLE ) {
sb.safePrintf("</table>"
"<br>"
"<br>"
"<br>"
"<table width=650px "
"cellpadding=5 cellspacing=0 border=0>"
// yellow/gold bar
"<tr>"
// yellow/gold
"<td colspan=2 bgcolor=#f3c714>"
"<b>"
"%s"
"</b>"
"</td>"
"</tr>\n"
"<tr bgcolor=#0340fd>"
@ -2874,16 +2888,32 @@ bool sendPageHelp ( TcpSocket *sock , HttpRequest *hr ) {
sb.safePrintf(
" <tr> "
" <td style=padding-bottom:12px;>&nbsp;</td>"
" <td style=padding-bottom:12px;>&nbsp;</td>"
" </tr>"
""
// " <tr> "
// " <td style=padding-bottom:12px;>&nbsp;</td>"
// " <td style=padding-bottom:12px;>&nbsp;</td>"
// " </tr>"
// ""
"</table>"
"<br><br><br>"
"<table width=650px "
"cellpadding=5 cellspacing=0 border=0>"
// yellow/gold bar
"<tr>"
"<td colspan=2 bgcolor=#f3c714>"
"<b>"
"Boolean Queries"
"</b>"
"</td>"
"</tr>\n"
"<tr bgcolor=#0340fd>"
""
" <th><font color=33dcff>Boolean Search</font></th>"
" <th><font color=33dcff>Example Query</font></th>"
" <th><font color=33dcff>Description</font></th>"
""
" </tr>"

@ -3295,6 +3295,17 @@ static bool s_isInitialized = false;
// 3rd field = m_hasColon
struct QueryField g_fields[] = {
{"gbfieldmatch",
FIELD_GBFIELDMATCH,
true,
"gbfieldmatch:strings.vendor:\"My Vendor Inc.\"",
"Matches all the meta tag or JSON or XML fields that have "
"the name \"strings.vendor\" and contain the exactly provided "
"value, in this case, <i>My Vendor Inc.</i>. This is case "
"sensitive and includes punctuation, so it's exact match.",
"Advanced Query Operators",
QTF_BEGINNEWTABLE },
{"url",
FIELD_URL,
true,
@ -3304,7 +3315,6 @@ struct QueryField g_fields[] = {
NULL,
0 },
{"ext",
FIELD_EXT,
true,
@ -3843,17 +3853,6 @@ struct QueryField g_fields[] = {
NULL,
0},
{"gbfieldmatch",
FIELD_GBFIELDMATCH,
true,
"gbfieldmatch:strings.vendor:\"My Vendor Inc.\"",
"Matches all the meta tag or JSON or XML fields that have "
"the name \"strings.vendor\" and contain the exactly provided "
"value, in this case, <i>My Vendor Inc.</i>. This is case "
"sensitive, so it's exact match.",
NULL,
0 },
{"gbdocspiderdate",
FIELD_GENERIC,