tsolignani Posted June 14, 2020 Share Posted June 14, 2020 Good evening everyone. Many times I happen to search my own blog, to insert links to previous posts into a new one mostly. I would like to search inline with Alfred 4, that would be really handy. The search URL is the following: https://blog.solignani.it/?s=test where «test» is obviously the search string. Is there a way I can implement it? Any idea, tip, hint? Thank you. Link to comment
deanishe Posted June 14, 2020 Share Posted June 14, 2020 36 minutes ago, tsolignani said: Any idea, tip, hint? If you want to show the search results inline, then you either need to add a proper search API to your site that can return search results as machine-readable data, or you need to write an HTML parser than can parse the results page into machine-readable data. An HTML parser shouldn't be too difficult to write (as those things go) because the HTML contains schema.org tags. Alan He 1 Link to comment
tsolignani Posted June 15, 2020 Author Share Posted June 15, 2020 Thank you. That's beyond me unfortunately. Going through google would be a feasible idea? Thanks. Link to comment
deanishe Posted June 15, 2020 Share Posted June 15, 2020 (edited) 19 minutes ago, tsolignani said: Going through google would be a feasible idea? Yes, in theory. But Google's search API is fairly expensive, and parsing its HTML (instead of paying) is much harder than parsing yours. And you still need to write code. You can't display your own dynamic results in Alfred without coding. Edited June 15, 2020 by deanishe Link to comment
tsolignani Posted June 15, 2020 Author Share Posted June 15, 2020 Understood. Is there some place I can look to hire someone to code that for me maybe? Thank you. Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now