Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Software > Calibre > Library Management

Notices

Reply
 
Thread Tools Search this Thread
Old 02-12-2025, 03:38 PM   #166
Comfy.n
want to learn what I want
Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.
 
Posts: 1,530
Karma: 7095191
Join Date: Sep 2020
Device: none
Quote:
Originally Posted by chaley View Post
the interpolated 'author' is already URL-encoded.
got it, thanks
Comfy.n is online now   Reply With Quote
Old 02-12-2025, 03:39 PM   #167
chaley
Grand Sorcerer
chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.
 
Posts: 12,265
Karma: 7955525
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
Quote:
Originally Posted by Comfy.n View Post
At the moment I'm trying to figure how a deepseek query could be made using just a url. Not sure it's possible. :\

This add-on works fine on browser context menu:

https://addons.mozilla.org/en-US/fir.../ask-deepseek/
Where are you trying to put that URL? In any event, I suspect that because it is interpreted by firefox, the only way it **might** work is if firefox is the system default browser. WHen I try it with Chrome as the default I get an invitation to switch to Firefox.
chaley is offline   Reply With Quote
Advert
Old 02-12-2025, 03:45 PM   #168
Comfy.n
want to learn what I want
Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.
 
Posts: 1,530
Karma: 7095191
Join Date: Sep 2020
Device: none
Quote:
Originally Posted by chaley View Post
Where are you trying to put that URL? In any event, I suspect that because it is interpreted by firefox, the only way it **might** work is if firefox is the system default browser. WHen I try it with Chrome as the default I get an invitation to switch to Firefox.
I edited my previous post to mention the add-on code and its AMO page to install it on mozilla based browsers.

Let me try to clarify: I don't see how to get a direct url to open a chat.deepseek.com query, as that add-on can do so seamlessly from selected text on any webpage.

If it was possible to find an endpoint (I think that's what devs call it), one could create a custom column to query {title} by {author} on Deepseek in order to get some blurb, or other inquiries about the title and author, via book details click
Comfy.n is online now   Reply With Quote
Old 02-12-2025, 04:00 PM   #169
chaley
Grand Sorcerer
chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.
 
Posts: 12,265
Karma: 7955525
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
Quote:
Originally Posted by Comfy.n View Post
I edited my previous post to mention the add-on code and its AMO page to install it on mozilla based browsers.

Let me try to clarify: I don't see how to get a direct url to open a chat.deepseek.com query, as that add-on can do so seamlessly from selected text on any webpage.

If it was possible to find an endpoint (I think that's what devs call it), one could create a custom column to query {title} by {author} on Deepseek in order to get some blurb, or other inquiries about the title and author, via book details click
I took a quick look at the API. It appears that you could do it by constructing POST queries and be prepared to get JSON responses, which isn't something doable with a single URL. It requires code.
chaley is offline   Reply With Quote
Old 02-12-2025, 04:04 PM   #170
Comfy.n
want to learn what I want
Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.
 
Posts: 1,530
Karma: 7095191
Join Date: Sep 2020
Device: none
Quote:
Originally Posted by chaley View Post
I took a quick look at the API. It appears that you could do it by constructing POST queries and be prepared to get JSON responses, which isn't something doable with a single URL. It requires code.
Yes, thanks for looking. Anyway, just a random idea, and this could be possible also with the Search Internet plugin if there was some direct api access... I examined the requests and it's clear it isnt doable with a single url
Comfy.n is online now   Reply With Quote
Advert
Old 02-12-2025, 04:32 PM   #171
ownedbycats
Custom User Title
ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.
 
ownedbycats's Avatar
 
Posts: 10,280
Karma: 72663495
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
Was this made on a request or "just seemed like a good idea"?
ownedbycats is offline   Reply With Quote
Old 02-12-2025, 04:36 PM   #172
chaley
Grand Sorcerer
chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.
 
Posts: 12,265
Karma: 7955525
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
Quote:
Originally Posted by ownedbycats View Post
Was this made on a request or "just seemed like a good idea"?
Are you talking to me? About the custom column search URL? If so then on request: https://bugs.launchpad.net/calibre/+bug/2097591
chaley is offline   Reply With Quote
Old 02-12-2025, 04:41 PM   #173
ownedbycats
Custom User Title
ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.
 
ownedbycats's Avatar
 
Posts: 10,280
Karma: 72663495
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
Quote:
Originally Posted by chaley View Post
Are you talking to me? About the custom column search URL? If so then on request: https://bugs.launchpad.net/calibre/+bug/2097591
Ahh. I was wondering,
ownedbycats is offline   Reply With Quote
Old 02-13-2025, 06:19 AM   #174
Comfy.n
want to learn what I want
Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.
 
Posts: 1,530
Karma: 7095191
Join Date: Sep 2020
Device: none
Quote:
Originally Posted by chaley View Post
I took a quick look at the API. It appears that you could do it by constructing POST queries and be prepared to get JSON responses, which isn't something doable with a single URL. It requires code.
Code:
program: make_url('https://chatgpt.com', 'q', $title  & ' ' & $author)
On the other hand it was easy peasy to have a clickable book details search for the much enshittificated chatgpt.
Attached Thumbnails
Click image for larger version

Name:	MWSnap 2025-02-13, 08_07_47.png
Views:	120
Size:	307.9 KB
ID:	213630   Click image for larger version

Name:	2025-02-13 08_03_44-Edit custom column.png
Views:	104
Size:	22.1 KB
ID:	213631  
Comfy.n is online now   Reply With Quote
Old 02-16-2025, 06:52 AM   #175
Comfy.n
want to learn what I want
Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.
 
Posts: 1,530
Karma: 7095191
Join Date: Sep 2020
Device: none
Code:
program: make_url('https://phind.com/search', 'q', $title  & ' by ' & $author)
https://www.phind.com/search?q=The+P...B2+Machiavelli

I've found Phind to be a much better alternative for this purpose, so I changed my template.
Comfy.n is online now   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
A few questions... (template language, mainly) Clem2605 Library Management 2 12-30-2020 03:25 AM
Template Language phossler Calibre 8 01-12-2016 04:37 PM
Help needed with template language Mamaijee Devices 12 02-19-2013 01:52 AM
Help with template language Pepin33 Calibre 8 11-11-2012 08:32 AM
Template language question BookJunkieLI Library Management 7 02-02-2012 06:55 PM


All times are GMT -4. The time now is 10:12 PM.


MobileRead.com is a privately owned, operated and funded community.