Tip #15: Long Search String URLs - longquery Troubles in PubMed

Do you long for the good old days of Legacy PubMed's Search Details URL generator to share long searches with your teams? In new PubMed, you can share a search by copying the URL from the results page, like this:
 
 BUT, if you try to share a longer search, the URL string is translated into a query key like this "longquery9a58987564a53ee81e0" which generates a URL that is not stable or sharable:


To get around this longquery issue, you can simply add this https://pubmed.ncbi.nlm.nih.gov/?term= to the front of your search string, then copy/paste the entire string into the address bar:

https://pubmed.ncbi.nlm.nih.gov/?term=("Meditation"[Mesh] OR meditat*[tiab] OR Koan[tiab] OR Samadhi[tiab]) OR ("Mental Healing"[Mesh] OR "mental healing"[tiab] OR "Emmanuel movement"[tiab] OR "healing god"[tiab] OR "holotropic breathwork"[tiab] OR "Jewish science"[tiab] OR "magnetic healing" OR "psychic surgery"[tiab] OR rebirth*[tiab] OR Reiki[tiab]) OR  ("Psychodrama"[Mesh] OR psychodrama[tiab] OR "role play"[tiab] OR "role playing"[tiab] OR "drama therapy"[tiab]) OR ("Psychophysiology"[Mesh:noexp] OR psychophysiology[tiab]) OR ("Relaxation Therapy"[Mesh] OR "relaxation therapy"[tiab] OR "relaxation therapies"[tiab]) OR ("Tai Ji"[Mesh] OR "Tai Ji"[tiab] OR TaiJi[tiab] OR TaiChi[tiab] OR "Tai Chi"[tiab]) OR ("Therapeutic Touch"[Mesh] OR "therapeutic touch"[tiab]) OR ("Yoga"[Mesh] OR yoga[tiab]) OR ("polarity therapy"[tiab]) OR (prolotherap*[tiab]) OR ("Musculoskeletal Manipulations"[Mesh] OR (manipulation*[tiab] AND (osteopathic[tiab] OR spinal[tiab] OR cranial[tiab] OR craniosacral[tiab] OR "soft tissue"[tiab])) OR kinesiology[tiab] OR "soft tissue therapy"[tiab] OR "soft tissue therapies"[tiab] OR chiropractic[tiab] OR "spinal adjustment*"[tiab] OR "craniosacral therapy"[tiab]) OR ("Motion Therapy, Continuous Passive"[Mesh] OR "movement therapy"[tiab] OR "movement therapies"[tiab] OR "motion therapy"[tiab]) OR ("Massage"[Mesh] OR massage[tiab] OR Rolfing[tiab]) OR (mesmerism[tiab]) OR ("Naturopathy"[Mesh] OR naturopath*[tiab]) 
 


2/7/2023 - Addendum submitted by Peter Johnson, University of Kansas Medical Center, @libraryvines@mindly.social. 

"If for whatever reason you need a string’s URL with the original syntax, after entering it with the https://pubmed.ncbi.nlm.nih.gov/?term= prefix, when you look up the search in Advanced and click through, it’s rendered with the necessary %22 and + characters in the URL bar. Some email clients (Gmail, Outlook, etc) may set a character limit on URL strings, so be sure to test your long search string before sharing with a patron or user."


Comments

Popular posts from this blog

Tip #1: Bulk export from Google Scholar

Tip #23: PubMed's [tiab] vs. [tw]

Tip #4: Ovid MEDLINE Adjacency and Field Tags