I found a neat feature on a blog that I was reading - it displayed the results of the Authors reading habits. I figured there had to be something that did the same thing for WordPress - there is! Now Reading - a pretty handy-dandy tool to show off your library publicly.
It’s got 2 flaws though. 1 is my issue with Amazon and the other is a programming flaw:
Programming issue: If you just installed Now Reading and you tried to add a book and got a 404 message from WordPress, fret not - its a simple programming mistake. If you look at the address line, you’ll see that there is an issue with a duplicate string in the POST URL. If that’s over your head, try this:
[blog]/wp-admin/post-new.php?page=add_book/wp-admin/
[continued...]post.php?page=add_book&added=3
The bold part needs to come out of the URL and then hit enter and it’ll work believe it or not - pretty simple eh?
So, how to fix this issue: open up a copy of now-reading.php on your computer in your favorite editor. This can even be done in notepad.
'add' => get_option('siteurl') . '/wp-admin/post-new.php?page=add_book',
'manage' => get_option('siteurl') . '/wp-admin/edit.php?page=manage_books',
'options' => get_option('siteurl') . '/wp-admin/options-general.php?page=nr_options'
'add' => get_option('siteurl') . '/wp-admin/admin.php?page=add_book',
'manage' => get_option('siteurl') . '/wp-admin/admin.php?page=manage_books',
'options' => get_option('siteurl') . '/wp-admin/admin.php?page=nr_options'
(This is edited/paraphrased to cut down on the extra code that you don’t need to see)
Take the first line that says /wp-admin/post-new.php?page=add_book and change it to:
” - thats it. Blank out that variable. ie:
'add' => get_option('siteurl') . '',
I haven’t had time to play with the entire script to see if there are other any issues, so keep this fix in mind.
Now, my other issue is that it uses Amazon’s website for its information. Due to issues with Amazon concerning quality, management decisions and the individual sellers that utilize their system. When I have time, I may add Barnes & Noble as an option instead of just Amazon, but we’ll see. For now, I need to customize this plugin for my needs since I don’t like the default layout. Nothing against the Plugin Author, I’m just picky…
