• 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 - 91 through 105 (of 145 total)
  • Woohoo. It is working. I had PHP compiled without the XML-RPC flag enabled. That was the issue.

    Man, this thing is smoking fast! Great work David.

    David,
    So you have a “Create Post from CGA listing” enhancement in the works? If not, I may pick your brain. If so, I raise my hand to help out.
    Apakuni

    I am having a problem setting these up….
    I am trying to start with whattunes, but I am a bit unsure how to create the tracktunes.txt file. Is there a way to do this with Kung-Tunes for Mac?
    I tried creating a few by hand, but even though there is a tracktunes.txt file in my cg-plugin directory, I get this message The /home/sasane/www/www/blog/wp-content/plugins/cg-plugins/tracktunes.txt file is empty or doesn’t exist. But it does…can someone post an example of what the contents of the text file should look like so that I can try to get Kung-Tunes to emulate it?
    Thanks

    Thanks Beel
    Part of the problem is that I am on a Mac, and iTunesBlogger is a PC program. I can get Kung-Tunes to parse the data to tab delimintated, but now I cannot get the files to find each other. I haven’t even tried to add it to my index yet, as I want to see that I can get results from the wp-content/plugins/cg-plugins/tracktunes.php URL first.
    It looks like it might jsut be easier to do it all with Kung-Tunes and some PHP. I am going to hop back on this later with a fresh mind…

    Thread Starter davidchait

    (@davidchait)

    apak –
    Maybe start a new discussion thread about what you are looking for — it might be there in pieces, but this thread is getting ‘messy’. Glad you are running! Not sure what the XML-RPC stuff is needed for… hmmm.
    sasane –
    Can Kung-Tunes do a HTTP-Post of the current track data? I’ll have to look at it. This should work just fine with most POST-based applets if they have completely customizeable configs.
    -d

    Thread Starter davidchait

    (@davidchait)

    sasane –
    Yes, Kung Tunes DOES support POSTing of the tune information, which should work if you configure the prefs properly to match what tracktunes.php expects in a POST to it.
    The POST command wants the URL to your tracktunes.php:
    https://www.sasane.com/blog/wp-content/plugins/cg-plugins/tracktunes.php
    Then, the POST information itself (don’t know if it is separate or not):
    add=1
    OR
    set=1
    … as the main command (if part of the URL, put a ? before it…)
    .. then the fields of tune data ampersanded together:
    &t=track&a=artist&g=genre&al=album
    That’s all you need. If you can’t figure it out quickly, let me know and I’ll go boot up my mac and give you the exact step-by-step…
    -d

    David,
    Have started another thread as suggested. Checkout Extending CG-Amazon.
    Peace,
    Apak

    David,
    Thanks for the assistance. After playing around a bit with KT today, and having little success, I did a search for other solutions. I found another program, Recent Tunes, which I was able to set-up successfully in less than five minutes. I have got it working on a secondary index page (index2.php), but I have yet to add any formatting to it. I need to add the div to the css…
    Would I be able to use whattunes on the front end of this to work some of the formatting? I would really like to display the album cover if possible. Does this require using the cg-amazon plugin?
    You can see the output at this temporary page index2.php, and on the Recently played page.
    Thanks

    Thread Starter davidchait

    (@davidchait)

    1. Displaying the cover and link to amazon requires CG-Amazon.
    2. Both KT and RT should be supported by the current WhatTunes code — all that needs configuring is the posting of data to the tracktunes.php script.
    I’ll try to take a look at both later today and see if I can’t detail the specific method and copy/paste lines that’ll work with both of them. Should be pretty easy.
    -d

    Thread Starter davidchait

    (@davidchait)

    I just got kung-tunes working… will be uploading a new PowerPack maybe later today with the fixes.
    If there are other fixes I need to get in, like to try and roll them into one release. ??
    I’ll look at the unhtmlentities thing. I’ll just rename it — though BAD GALLERY! I wrap ALL of my ‘common’ helper functions with a “if (!function_exists(‘somefunctionname’))” to avoid this problem… So should all other PHP programmers around the world using common solutions from PHP.net and elsewhere. ??
    And beel, I’ll look at returning the text I have rather than NPF. Lemme see how easy that’ll be.
    -d

    Thread Starter davidchait

    (@davidchait)

    sasane –
    Not sure why it’s ‘crashing’. I’d have to have access to your site to see the actual ‘live’ php file and try to visual debug it.

    Thread Starter davidchait

    (@davidchait)

    Okay, KT is working fine, as is iTunesBlogger. Changed unhtmlentities to a new name. Changed NPF by WhatTunes to print out artist and album in same formatting style as title (I can tweak that later…).
    Anything else on your list(s)? ??
    -d

    Thread Starter davidchait

    (@davidchait)

    I’m not sure I can do much about Songwriter — I’ll take a look, but it seemed as if it hadn’t really been updated in over a year, and the guy never got the HTTP stuff integrated. But I haven’t looked myself yet. Will go check now, in case I can get something in quick. Otherwise, looked pretty easy to write an updater applet to do the job.
    -d

    David,
    I downloaded a fresh version (CG-POWERPACK-1.0b14) from your site, but the unhtmlentitites line is still in there on line 221 of helper_fns.php. Can you upload the updated files, or email them to me? I will try it out, and if I continue to get errors I humbly take you up on your offer to poke around my site.
    Thanks
    Steve
    @
    sasane
    .com

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