{"id":769869,"date":"2023-03-28T13:46:43","date_gmt":"2023-03-28T17:46:43","guid":{"rendered":"https:\/\/midlandauctions.ca\/?p=769869"},"modified":"2024-11-11T16:57:13","modified_gmt":"2024-11-11T21:57:13","slug":"bulk-listing-titles-of-lots","status":"publish","type":"post","link":"https:\/\/midlandauctions.ca\/?p=769869","title":{"rendered":"BULK LISTING titles of lots"},"content":{"rendered":"This account is not authorized yet to use this page. You must have permission to access this area\n<!-- HFCM by 99 Robots - Snippet # 22: bulklistingcss -->\n<style>\r\ndiv#wp-custom-header {\r\n    display: none;\r\n}\r\n.wvrx-menu-container.font-inherit.font-bold.rounded-bottom {\r\n    display: none;\r\n}\r\n\r\nhr {\r\n    overflow: visible;\r\n    padding: 0;\r\n    border: none;\r\n    border-top: 1px #100800;\r\n    width: 100%;\r\n    color: #bfa85b;\r\n    text-align: center;\r\n    display: block;\r\n    unicode-bidi: isolate;\r\n    margin-block-start: 0.5em;\r\n    \/* margin-block-end: 0.5em; *\/\r\n    margin-inline-start: 0em;\r\n    margin-inline-end: -22em;\r\n    overflow: hidden;\r\n    border-style: inset;\r\n    border-width: 1px;\r\n}\r\nhr:after {\r\n    content: \"\u00a7\";\r\n    display: inline-block;\r\n    position: relative;\r\n    top: -0.7em;\r\n    font-size: 1.5em;\r\n    padding: 0 0.25em;\r\n}\r\n<\/style>\r\n\r\n<script>\r\n\r\nfunction replaceAmpersandName() {\r\n    var input = document.getElementsByName('namein')[0].value;\r\n    input = input.replace(\/&\/g, ' and ');\r\n    input = input.replace(\/\u201d\/g, \"''\");\r\n    input = input.replace(\/\\?\/g, \"\uff1f\");\r\n    input = input.replace(\/\"\/g, \"''\");\r\n    input = input.replace(\/%\/g, ' percent');\r\n    input = input.replace(\/-\/g, '~');\r\n\t\r\n\t  var maxLength = 234;\r\n    if (input.length > maxLength) {\r\n        input = input.substring(0, maxLength);\r\n    }\r\n    \r\n    document.getElementsByName('namein')[0].value = input;\r\n}\t\r\n\t\r\nfunction replaceAmpersandName2() {\r\n    var input = document.getElementsByName('name')[0].value;\r\n    input = input.replace(\/&\/g, ' and ');\r\n    input = input.replace(\/\u201d\/g, \"''\");\r\n    input = input.replace(\/\\?\/g, \"\uff1f\");\r\n    input = input.replace(\/\"\/g, \"''\");\r\n    input = input.replace(\/%\/g, ' percent');\r\n    input = input.replace(\/-\/g, '~');\r\n\t\r\n\t  var maxLength = 234;\r\n    if (input.length > maxLength) {\r\n        input = input.substring(0, maxLength);\r\n    }\r\n    \r\n    document.getElementsByName('name')[0].value = input;\r\n}\t\t\r\n\r\n\t\r\nfunction replaceAmpersandDescription() {\r\n    var input = document.getElementsByName('description')[0].value;\r\n    input = input.replace(\/&\/g, ' and ');\r\n    input = input.replace(\/\"\/g, \"''\");\r\n    input = input.replace(\/\u201d\/g, \"''\");\t\r\n    input = input.replace(\/\\?\/g, \"\uff1f\");\r\n    input = input.replace(\/%\/g, ' percent');\t\r\n    input = input.replace(\/-\/g, '~');\t\r\n\t\r\n    document.getElementsByName('description')[0].value = input;\r\n}\r\n<\/script>\r\n\n<!-- \/end HFCM by 99 Robots -->\n\n<!-- HFCM by 99 Robots - Snippet # 23: duplicate_and_truncate_form_field -->\n<style>\r\ntd {\r\n    width: 260px;\r\n}\r\n<\/style>\r\n<script>\r\nconst description = document.getElementById('description');\r\nconst name = document.getElementById('name');\r\n\r\ndescription.addEventListener('input', () => {\r\n  const value = description.value;\r\n  const truncatedValue = value.slice(0, 235);\r\n  name.value = truncatedValue;\r\n});\r\n\r\n\r\n<\/script>\r\n<script>\r\ndocument.getElementById('description').addEventListener('focus', function() {\r\n  var input = this;\r\n  var currentValue = input.value;\r\n\r\n  \/\/ Check if the input value contains the default \"Description will be updated shortly\"\r\n  var descriptionPlaceholder = 'Description will be updated shortly';\r\n  if (currentValue.includes(descriptionPlaceholder)) {\r\n    \/\/ Get the dynamic part before ' - ' (like (LOT: B181))\r\n    var prefix = currentValue.split(' - ')[0] + ' - ';\r\n    \r\n    \/\/ Update the value to just the dynamic part and remove the description text\r\n    input.value = prefix;\r\n    \r\n    \/\/ Set the cursor position right after the dash and dynamic lot info\r\n    input.setSelectionRange(input.value.length, input.value.length);\r\n  }\r\n});\r\n<\/script>\n<!-- \/end HFCM by 99 Robots -->\n\n<style>\nheader#branding {\n    display: none;\n}\n<\/style>\n","protected":false},"excerpt":{"rendered":" <a class=\"more-link\" href=\"https:\/\/midlandauctions.ca\/?p=769869\"><span class=\"more-msg\">Continue reading &rarr;<\/span><\/a>","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-769869","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/midlandauctions.ca\/index.php?rest_route=\/wp\/v2\/posts\/769869","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/midlandauctions.ca\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/midlandauctions.ca\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/midlandauctions.ca\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/midlandauctions.ca\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=769869"}],"version-history":[{"count":4,"href":"https:\/\/midlandauctions.ca\/index.php?rest_route=\/wp\/v2\/posts\/769869\/revisions"}],"predecessor-version":[{"id":980857,"href":"https:\/\/midlandauctions.ca\/index.php?rest_route=\/wp\/v2\/posts\/769869\/revisions\/980857"}],"wp:attachment":[{"href":"https:\/\/midlandauctions.ca\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=769869"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/midlandauctions.ca\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=769869"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/midlandauctions.ca\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=769869"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}