• I wanted to get the word out to my more avid testers and other interest parties. Rather than generate a ton of individual archives, for the initial testing of my new CG stuff, I’m packing up ALL of my ‘libraries’, plus enabler ‘plugin stubs’ for WP1.2+, in one archive.
    This includes my existing libraries:
    1. CG-Amazon (amazon data feeds)
    – added keyword searches, new Find feature to add to db, default to external links (and not internal to cgaindex), fixed cgaindex ‘bot thrashing’, and created CG-Inline for inlining Amazon products in articles. New XMLParser from Feedread.
    2. CG-Feedread (RSS/Atom aggregation)
    – New XMLParser, uses custom HTTP connection code to reduce ‘lockups’ due to bad/unavailable XML services. Fixed some encapsulation and output cases.
    3. CG-Referer (referral, bot, and query/search tracking)
    – Updated blacklists. Overhauled bot code. New bot and query detection.
    4. CG-Samecat (listing posts within a category)
    – No major changes.
    … plus my new additions:
    5. CG-Inline (embedded macros within posts for images, amazon items, and post links)
    6. CG-Related (assisted process for building table of related posts and listing them)
    7. CG-WhatTunes (tying music player/watcher http POST updates to CG-Amazon, to show the current music you are listening to)
    … and associated helper files and functions.
    Many of the above are completely missing documentation at the moment — but I wanted to get the new Amazon and Feedread stuff out, and had people interested in WhatTunes and Related, and didn’t make sense to go pulling them into seven different packages at the moment. ??
    Anyway… for those brave souls, go grab the CG-PowerPack, and let me know as you have issues. Feel free to start new Topics here for different plugins, so that they don’t all get junked in one post. ?? For general issues or Qs, feel free to respond to this post of course!
    FINAL NOTES:
    – All CG-Amazon users really should update, and CLEAR their cache_amazon folder, as bots may have flooded it with junk.
    – Feedread users, note that the cache folder name has been changed from cache_rssfeeds to cache_feedread to note ‘who owns it’. ??
    -d

Viewing 15 replies - 106 through 120 (of 145 total)
  • Thread Starter davidchait

    (@davidchait)

    Okay, since I’ve covered what I can for the day/week, I’m putting up the new CG-PowerPack 1.0b15 release. I’m hoping that things are starting to stabilize and get worked out, so I can look at a 1.0 gold by mid-august.
    I haven’t yet had time to look at/integrate suggested doc enhancements and folder/install reorg — but that’s on tap.
    Steve, I’ll ping you offline so you know asap when it’s up.
    -d

    Thread Starter davidchait

    (@davidchait)

    Beel, don’t hold your breath on POST support for songwriter — it just crashed my WMP9, and I’ve uninstalled it. From the intro doc dialog, it posts up an xml file as its only method (until the guy starts working on it again). If you’ve already figured out how to extract the data you want (note that XMLParser.php will do most of the lifting for you…), tossing that into the whattunes system wouldn’t be too hard to do (have your OWN code/hack that runs early on the page, checks the timestamp between the xml file and tracktunes.txt, and if the xml file is newer, regenerate the new data for tracktunes.txt… then let WhatTunes run as normal…).
    -d

    David,
    Using the link that you provided above, I am getting an error message.

    Fatal error: Call to undefined function: unhtmlentities() in /home/httpd/vhosts/chait.net/httpdocs/download.php on line 91

    Thanks

    Thread Starter davidchait

    (@davidchait)

    yeah yeah… I have to work around collisions with other people not writing good php code, and missed a file. ??
    Try it again now — should be fixed.
    -d

    Thread Starter davidchait

    (@davidchait)

    Beel – I gave up on SongWriter, even though I got you kinda working with it. I’m currently writing the little tray applet I talked about. For XP/2K + WMP9 (+ the new Blogging plugin), it’ll work in conjunction with CG-WhatTunes (or frankly any similar ‘what’s playing’ script) in order to show the current playing song in your sidebar…
    Should be cool. ??
    -d

    I updated to 1.0b15, and Gallery plays nice with CGA. I now would like to use Whattunes to format my Recent Tunes data, but I am getting a T-STRING error which I cannot seem to resolve. I copy/pasted the recommended PHP code from the whattunesReadme.htm, but it does not seem to be working for me. This is the error that I am getting:
    Parse error: parse error, unexpected T_STRING in /home/sasane/www/www/blog/index2.php on line 114
    Line 114 is the third line in the follwing code:
    <?php
    ????if (function_exists("getWhatsPlaying")) // then we can use it
    ????{
    ????????$amaAlbum = getWhatsPlaying(true, true);
    ????????if ($amaAlbum)
    ????????{
    ????????????start_block("Now Playing", "now-playing", "li");
    ??????????????echo '<br>';
    ??????????????echo $amaAlbum;
    ????????????end_block();
    ????????}
    ????}
    ?>

    The only character on this line is the “{“, I have tried altering the code in a bunch of ways, but I continue to get this error. Any ideas?

    Beel,
    THANKS!
    I deleted the code you mentioned, and that gave me a better result. Then I realized that I should not be enclosing this code in “li” tags, and once I removed those my page displayed. Now it seems to be working.
    NOW….how do you get the album art to display?

    Oops, forgot to login. That was me in case you couldn’t guess…

    Dave: I’ll check b16 but I am having a bit of a problem with validation when an album is found and when one is not and just the title, artist and album name are returned. With tweaking, I can get one or the other to validate, but not both. It basically involves the old span o’ text following <ul class="amazon-block"> (assumes a missing li start tag). If I get rid of the start_block and use li’s instead of ul’s in the … ah, it doesn’t matter what I did as it still doesn’t validate in all cases.

    One new thing I noticed off the bat in b16:
    show_amazon_items() does not default to $image=true, it has to be set.

    Thread Starter davidchait

    (@davidchait)

    Thanks Beel — I’ll have a look at the image stuff immediately, and the found/not-found stuff later.
    Admittedly, I haven’t been focused on pure validation (I can’t get pure validation for the link wrapping I try to use, at least I don’t think I can — maybe someone with a better eye for what’s throwing off the validation can tell me ideas for fixing it). But I should be able to make the not-found case match the found case better.
    -d

    Thread Starter davidchait

    (@davidchait)

    well, $image defaults to ‘true’, which should leave $imageSize as == $defaultAmazonImage (which defaults to ‘Small’ unless changed).
    BUT, my bad. Just to be safe, I’m putting up b17 with just cg-amazon.php changed… bad comparison. PHP failed me on the new ‘array comparison’ I used to test the growing list of potential sizes (now 4 with SmallMedium).
    Worth grabbing for ANYONE who got the ‘bad’ b16. ??
    -d

    Thread Starter davidchait

    (@davidchait)

    Okay, CG-PowerPack b18is going up.
    MASSIVE OVERHAUL of the XMLParser code. It now is MUCH faster for complex pages or slow networks/sites, and handles a bunch of edge-condition cases better. Improves both CG-Feedread and CG-Amazon stability/functionality, so if using either, you’ll want this.
    Beel – also did tweaking of WhatTunes, trying to get better output for you. I’m using span-wrap, so I tried to add the missing ‘li’ wrappering around the spans for validation. Just tried it, looks good.
    -d

    Your plugins rock! I’m not sure why, but I cannot get the Amazon pluging to sort by categories. I can upload my various book titles into their respective categories. When I try to display them, I cannot sort the display by category. My code: <?php show_amazon_items(5, ‘time’, $wpCat=’1′); ?> should show 5 books from category 1, right? It says that no products are found. I’m positive they’re there!
    Help!?

    Ah … you have to declare the actual title, not the category number. All is well with the world once again!

Viewing 15 replies - 106 through 120 (of 145 total)
  • The topic ‘Beta: The CG-PowerPack of WordPress plugins’ is closed to new replies.