Giter VIP home page Giter VIP logo

Comments (17)

lad1337 avatar lad1337 commented on August 22, 2024

Parse Error

The xml from Goodreads is not a valid XML .. cant do much about that ... or do you have the api key that is need for goodreads ?

Book information from http://www.goodreads.com/. Get your own developer api key from http://www.goodreads.com/api/keys.

enter it in the settings from the Goodreads provider

In addition, I'm having trouble with the other newznab provider I want to add.

as in a new plugin (you are writing)? if so you are missing

_testConnection.args = ['my_argument_1', 'my_argument_2', 'my_argument_3']

you need to set the "args" you need as a list of strings as a attribute of the function
see https://github.com/lad1337/XDM/blob/master/plugins/indexer/Newznab.py#L125
note: the strings / names must be the same of the config key -> to match them against what is send thru the ajax call

if the above answer was no:
this should not happen ... and there should be something in the log like

function _testConnection needs x

if there is/are no such line(s) there is something wrong i dont know about

from xdm.

Deltron216 avatar Deltron216 commented on August 22, 2024

Thank you for replying so quickly.

ok, it appears I misunderstood..

I was under the impression that I would be able to install the books
plugin, and I was supposed to enable the goodreads portion for search
results.

I don't have a goodreads API key. Do I need one for this to work?

As for the second bit, all I was trying to do was add another newsnab
source. Is that possible?

I'm looking for a replacement for LazyLibrarian, and this was suggested.

Thanks for your assistance.

On Thu, Jun 27, 2013 at 5:12 PM, lad1337 [email protected] wrote:

Parse Error

The xml from Goodreads is not a valid XML .. cant do much about that ...
or do you have the api key that is need for goodreads ?

Book information from http://www.goodreads.com/. Get your own developer
api key from http://www.goodreads.com/api/keys.

enter it in the settings from the Goodreads provider

In addition, I'm having trouble with the other newznab provider I want to
add.

as in a new plugin (you are writing)? if so you are missing

_testConnection.args = ['my_argument_1', 'my_argument_2', 'my_argument_3']

you need to set the "args" you need as a list of strings as a attribute of
the function
see
https://github.com/lad1337/XDM/blob/master/plugins/indexer/Newznab.py#L125
note: the strings / names must be the same of the config key -> to match
them against what is send thru the ajax call

if the above answer was no:
this should not happen ... and there should be something in the log like

function _testConnection needs x

if there is/are no such line(s) there is something wrong i dont know about


Reply to this email directly or view it on GitHubhttps://github.com//issues/11#issuecomment-20155305
.

from xdm.

lad1337 avatar lad1337 commented on August 22, 2024

I was under the impression that I would be able to install the books
plugin, and I was supposed to enable the goodreads portion for search
results.
I don't have a goodreads API key. Do I need one for this to work?

yes you need the api key from goodreads. you can get one at http://www.goodreads.com/api/keys ... just create some bogus application information.

As for the second bit, all I was trying to do was add another newsnab
source. Is that possible?

sure just go into settings for the default newznab then enter a name for a new instance (only alphanumeric chars and underscore) and click create new instance
settings 5 -1

fyi nearly all plugins can have any number of instances with there own configuration

from xdm.

Deltron216 avatar Deltron216 commented on August 22, 2024

OK, I think I got it running....kinda...

I got the Goodreads API, and that fixed that part of the search

I was also able to put in my own newznab and verified the connection.

But now when I tell XDM to search for a known good book, it says that there
are no search results.

I disabled the default newsnab, and had only my own provider enabled, and
still came back with no results. When I do the search on my own provider,
I get results.

any ideas?

On Thu, Jun 27, 2013 at 5:12 PM, lad1337 [email protected] wrote:

Parse Error

The xml from Goodreads is not a valid XML .. cant do much about that ...
or do you have the api key that is need for goodreads ?

Book information from http://www.goodreads.com/. Get your own developer
api key from http://www.goodreads.com/api/keys.

enter it in the settings from the Goodreads provider

In addition, I'm having trouble with the other newznab provider I want to
add.

as in a new plugin (you are writing)? if so you are missing

_testConnection.args = ['my_argument_1', 'my_argument_2', 'my_argument_3']

you need to set the "args" you need as a list of strings as a attribute of
the function
see
https://github.com/lad1337/XDM/blob/master/plugins/indexer/Newznab.py#L125
note: the strings / names must be the same of the config key -> to match
them against what is send thru the ajax call

if the above answer was no:
this should not happen ... and there should be something in the log like

function _testConnection needs x

if there is/are no such line(s) there is something wrong i dont know about


Reply to this email directly or view it on GitHubhttps://github.com//issues/11#issuecomment-20155305
.

from xdm.

lad1337 avatar lad1337 commented on August 22, 2024

I disabled the default newsnab, and had only my own provider enabled, and
still came back with no results. When I do the search on my own provider,
I get results.

XDM / Books uses the author and the title together as a search query, pretty much what is shown on the page.
Does a search on your provider result in something ? check the categorie setting for books

screen shot 2013-06-28 at 16 39 09

if that is all set and still nothing have a look at the log file / terminal output and look for the exact url that is used for newznab that should give an idea what XDM is looking for

from xdm.

Deltron216 avatar Deltron216 commented on August 22, 2024

When I said I was getting search results from my own provider, I meant that
I went to the provider website, used their search tool and found the book I
was looking for. this is how I know that my provider had the book I was
searching for with XDM...sorry if that was unclear.

ok, I changed the category setting from 7000 (detected) to 7020 as
suggested.

Now I'm seeing this:

[image: Inline image 2]

On Fri, Jun 28, 2013 at 10:43 AM, lad1337 [email protected] wrote:

I disabled the default newsnab, and had only my own provider enabled, and
still came back with no results. When I do the search on my own provider,
I get results.

XDM / Books uses the author and the title together as a search query,
pretty much what is shown on the page.
Does a search on your provider result in something ? check the categorie
setting for books

[image: screen shot 2013-06-28 at 16 39 09]https://f.cloud.github.com/assets/656704/722421/ae1cce9c-e000-11e2-9bc8-c0bfaedb837c.png

if that is all set and still nothing have a look at the log file /
terminal output and look for the exact url that is used for newznab that
should give an idea what XDM is looking for


Reply to this email directly or view it on GitHubhttps://github.com//issues/11#issuecomment-20192330
.

from xdm.

lad1337 avatar lad1337 commented on August 22, 2024

I went to the provider website, used their search tool and found the book I
was looking for. this is how I know that my provider had the book I was

i thought so thats why i said what XDM is searching for AUTHOR TITLE and i was interested if the same search string on your provider web gui returns books. if so you should look at the terminal and check the url XDM uses for the search

and fyi your image turned out to look like this:

[image: Inline image 2]

i guess that does not work via mail ^^

from xdm.

Thraxis avatar Thraxis commented on August 22, 2024

I just installed to test, other then having to patch around OrderedDict to install the plugins since I use Python 2.6 on the system I tested with. The plugins installed fine, set the GoodReads API searched for an author "Anne Mcaffrey", Selected one of her books and added it. And it downloaded fine.

from xdm.

lad1337 avatar lad1337 commented on August 22, 2024

I just installed to test, other then having to patch around OrderedDict to install the plugins since I use Python 2.6 on the system I tested with. The plugins installed fine, set the GoodReads API searched for an author "Anne Mcaffrey", Selected one of her books and added it. And it downloaded fine.

thanks and good to know :)

from xdm.

Deltron216 avatar Deltron216 commented on August 22, 2024

I think I'm using Python 2.7

in any case, this is what I'm seeing.

I made sure I would get results using the providers web search tool with
<title>, then plugged in the same book into XDM and I get the
attached:

Again, thank all of you for helping me get this running properly.

On Sun, Jun 30, 2013 at 4:37 AM, lad1337 [email protected] wrote:

I just installed to test, other then having to patch around OrderedDict to
install the plugins since I use Python 2.6 on the system I tested with. The
plugins installed fine, set the GoodReads API searched for an author "Anne
Mcaffrey", Selected one of her books and added it. And it downloaded fine.

thanks and good to know :)


Reply to this email directly or view it on GitHubhttps://github.com//issues/11#issuecomment-20244077
.

from xdm.

lad1337 avatar lad1337 commented on August 22, 2024

and I get the
attached:

there is nothing attached ... i dont think attaching images / files in the mail works for the git issue page and i do not get an copy by mail please use the site to upload images #11 (comment)

from xdm.

Deltron216 avatar Deltron216 commented on August 22, 2024

sorry about that
xdm-06302013

from xdm.

lad1337 avatar lad1337 commented on August 22, 2024

okay that last thing is my misstake :/
fixed it there is now version 0.3 ... go to the "Manage Plugins" page and look for the Goodreads plugin (either in the top table or in the repo table at the bottom) if there is no update button click "Refresh Repositories" to load new data then a update button for Goodreads should appear... click that ^^ ... this should at least fix the issue in the last picture

from xdm.

Deltron216 avatar Deltron216 commented on August 22, 2024

ok, updated and now I get the following:

xdm-06302013-b

Are there any logs or configs and can provide to make this easier?

from xdm.

lad1337 avatar lad1337 commented on August 22, 2024

Looks like no Indexer is "Run"ing for "Books" or it is but the Indexer is not "Enabeld"

screen shot 2013-07-01 at 00 43 59

Both must be set, then save.

note: the category might vary, depending on the indexer configuration. but we had that ^^

from xdm.

Deltron216 avatar Deltron216 commented on August 22, 2024

and now it works!

Thank you so much!

I really appreciate the prompt and thorough help with this.

from xdm.

lad1337 avatar lad1337 commented on August 22, 2024

glad i could help :)

from xdm.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.