Forum Replies Created

Viewing 15 replies - 1 through 15 (of 16 total)
  • Thread Starter grid

    (@grid)

    When I say paragraphs in my post, I do not mean paragraph tags, as all the markup in her posts is divs. Just clarifying.

    Note that I was also getting some errors about incorrect html, so I changed the loadHTML line once again to the following:

    $dom->strictErrorChecking = false;
        @$doc->loadHTML($decoded_text);

    This is in addition to the changes made previously.

    I was getting a similar error, only mine was saying the problem was on line 155.

    Anyway, I went in and changed that line:

    $doc->loadHTML(utf8_decode($text) );

    to the following:

    $decoded_text = utf8_decode($text);
        if ( $decoded_text == '' ) {
            return $doc->saveHTML();
        }
        $doc->loadHTML($decoded_text);

    Which fixed it right up.

    Thanks Jorge, for this great plugin!

    Why is this resolved? Was it fixed offline?

    I don’t have much info about the main point of your post, but as for using a subdomain, you could always have that subdomain http redirect to the final feed.

    Heck, now that I think about it, you could use some custom .htaccess hacking to get rid of the feeds you don’t want, or point them to the feed you do want.

    Forum: Fixing WordPress
    In reply to: clean SVN checkout
    Thread Starter grid

    (@grid)

    Thanks Sam, really appreciate your response.

    I’m sort of surprised the WP_CONTENT_URL and WP_CONTENT_DIR don’t also change the WP_PLUGIN_DIR and WP_PLUGIN_URL constants automatically. They use them in their definitions… does wp-settings.php get included before the wp-config?

    Wow, this is a great thread. Someone should write a sidebar widget that shows the last X posts with thumbnails. (Maybe that someone is me!) I’ll search to make sure someone hasn’t already done it first tho.

    Forum: Fixing WordPress
    In reply to: clean SVN checkout
    Thread Starter grid

    (@grid)

    There is no information about this anywhere… it appears that it has something to do with the WP_CONTENT_URL constant. I think it would be sweet to store all my wp-content outside of the svn checkouts. I assume I’m not the only one, since this (apparently) got done in the first place.

    I always just use unzip… unzip –help says:
    UnZip 5.52 of 28 February 2005, by Debian. Original by Info-ZIP.

    Very strange.

    I suppose it’s also possible this is a product of how I’m unzipping the files… are they supposed to be capitalized in the zip? *sheepish grin*

    I get this error:

    Warning: init(phpFlickr.php) [function.init]: failed to open stream: No such file or directory in /{path_removed}/wordpress/wp-content/plugins/flickr-gallery/flickr-gallery.php on line 62
    
    Warning: init() [function.include]: Failed opening 'phpFlickr.php' for inclusion (include_path='.:/usr/lib/php') in /{path_removed}/wordpress/wp-content/plugins/flickr-gallery/flickr-gallery.php on line 62
    
    Fatal error: Cannot instantiate non-existent class: phpflickr in /{path_removed}/wordpress/wp-content/plugins/flickr-gallery/flickr-gallery.php on line 63

    This is just a capitalization issue… so the developer is probably working in a windows environment (for shame)! It works just fine once you change the includes to lowercase.

    Forum: Fixing WordPress
    In reply to: clean SVN checkout
    Thread Starter grid

    (@grid)

    Hmmm. perhaps I was not clear enough. I don’t need instructions on how to install WP via SVN. I want instructions on how to convert an existing SVN checkout of wordpress to a “clean” checkout. Here is the relevant portion of the release notes:

    Ability to move your wp-config file and wp-content directories to a custom location, for “clean” SVN checkouts.

    Anyone know anything about this?

    Forum: Plugins
    In reply to: Twitter Tools?

    This is less a bug and more an enhancement, but you can get links to show up in your entries (like they do pretty much everywhere else) by changing line 195 from:

    'post_content' => $wpdb->escape($tweet->tw_text)

    to:

    'post_content' => $wpdb->escape(make_clickable($tweet->tw_text))

    Forum: Plugins
    In reply to: Twitter Tools?

    looks like that’s working correctly.

    Forum: Plugins
    In reply to: Twitter Tools?

    OK, I think I fixed this (or anyway, I was able to get the Plugin options page to show and save the categories correctly) by replacing the above lines with these:

    function aktt_options_form() {
        global $wpdb, $aktt;
        $categories = get_categories( );
        $cat_options = '';
        foreach ($categories as $category) {
            if ($category->term_id == $aktt->blog_post_category) {
                $selected = 'selected="selected"';
            }
            else {
                $selected = '';
            }
            $cat_options .= "\n\t<option value='$category->term_id' $selected>{$category->cat_name}</option>";
        }

    I’ll post again when I’ve tested that the tweet are actually added to my selected category.

Viewing 15 replies - 1 through 15 (of 16 total)