vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   Miscellaneous Hacks - Kindle Daily Deal Grabber by BOP5 (https://vborg.vbsupport.ru/showthread.php?t=280597)

Arkham 03-27-2012 01:38 PM

Quote:

Originally Posted by Ramsesx (Post 2312888)
Cool stuff, thanks.
When do you expect the German version working?

(Heh! I just saw this mod and came in here to scope it out for you. No need to PM you the link now. :)

Good luck with the German one! Great idea.

Is there any other information that can be accessible, e.g. subject or genre? That would be ideal in order to not display irrelevant daily deals. Since the Author field is there, do you think a future version would allow a config to only match predefined authors?

BirdOPrey5 03-27-2012 02:15 PM

I suppose it is technically possible to filter by author but as a matter of being practical- I don't believe they repeat authors all that often... You'd literally be trying to guess at a handful from a pool of millions.

I suppose there could be an option that the title, author, and description fields were searched for keywords you specify, and if any of those were found, then it would post the deal- a lot like the RSS feed search works.

I will try and work that in but I probably won't delay a UK/German release to add that feature.

scottct1 03-27-2012 04:45 PM

This is great THANK YOU!

Any plans for a Free Amazon App of the Day version?

BirdOPrey5 03-27-2012 05:19 PM

Amazon App of The Day is best done via the RSS Feed: http://geekexile.com/amazon_rss.php

No need to re-invent the wheel, it will do basically the same as this.

scottct1 03-27-2012 05:23 PM

You could do that, but what I like about your mod is it posts everything in the same thread instead of creating a new thread every day.

Also the RSS feed does not seem to contain a link you can click on to get the app. :)

BirdOPrey5 03-27-2012 05:29 PM

I use this mod to make all posts in the same thread:
https://vborg.vbsupport.ru/showthread.php?t=261003

Example of how I use it on my forum:
http://www.juot.net/forums/showthrea...t=59771&page=3

So that gets it pretty close. Unless that RSS feed closes down I don't anticipate making one for the app deals.

BirdOPrey5 04-08-2012 11:01 AM

Updated to 1.03 to deal with when they (Amazon) use HTML tags inside multi-deal titles like they did today.

Like with the last update if you're not concerned about the version number all you need to do is upload the new php file in the /includes/cron/ directory.

However you can follow the full upgrade instructions to have your installed version number updated as well.

BirdOPrey5 04-15-2012 10:23 AM

Updated to Version 1.04
-Fixed the problem that showed up today with Amazon using a different image URL for today's deal.
-Pushed the default time back of the cron job about 2 hours. Amazon has been late posting the deal lately causing empty data to be collected.

It is recommended you run the full upgrade procedure.
(Upload an overwrite the php file AND import and overwrite = Yes the product xml file.)

BirdOPrey5 04-29-2012 11:47 AM

Updated to 1.06-

Fixes a few changes Amazon has made over the last couple weeks, including this morning's change to the multi-book deal price.

Overwrite all files on upload and re-import xml product file, allow overwrite set to yes.

scottct1 04-30-2012 02:36 PM

Installed the new version and now its not filling in all the info.

Was working fine before. Here is what a post looks like now.

http://www.satelliteguys.us/chit-cha...ml#post2851241

Quote:

Kindle Daily Deal for 04-30-2012

Title: After Midnight in the Garden of Good and EvilMarilyn Bardsley exposes the naked truth behind the death of Danny Hansford at the hands of his eccentric lover, the iconic Savannah, Georgia, socialite Jim Williams. It's a bizarre, page-turning look at the crime which inspired the best-selling novel and hit movie, Midnight in the Garden of Good and Evil. By {AUTHOR}



About: Marilyn Bardsley exposes the naked truth behind the death of Danny Hansford at the hands of his eccentric lover, the iconic Savannah, Georgia, socialite Jim Williams. It's a bizarre, page-turning look at the crime which inspired the best-selling novel and hit movie, Midnight in the Garden of Good and Evil.

MSRP: {PRINTPRICE}
Amazon Regular Price: $2.99
Discount: -$2.00
Deal Price: $0.99 (Today Only - 04-30-2012)

Rated: {RATING} of 5 Stars

Buy It Now or Browse Amazon.com.

More...
{LONGDESC}

Language: {LANGUAGE}
# of Pages: {PAGES}
File Size: {FILESIZE}
Published by {PUBLISHER}, on {PUBDATE}.
ISBN Number: {ISBN}


All times are GMT. The time now is 08:20 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01218 seconds
  • Memory Usage 1,742KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete