Add Attribution 2009.0730 fixes a couple bugs, and adds an [original-url] shortcode(posted on 30 July 2009)

Version 2009.0730 of Add Attribution for FeedWordPress is now available for download.

This release adds one significant new feature — the [original-url] shortcode — and also fixes a small group (swarm? nest? hive?) of bugs originally reported by Ato which have to do irregularities in the way that WordPress parses dashes in shortcode names. Changes:

  • Feature: If you want your attribution boilerplate to contain a link back to the original post that this post is a syndicated copy of, you can now do so using the [original-url] shortcode.

  • Bugfix: Due to problems in the way that WordPress parses shortcodes with dashes in their names, the [source-name] and [source-url] shortcodes in previous versions might erroneously display the same link that was supposed to be displayed by [source], and [author-name] might erroneously display the same link that was supposed to be displayed by [author]. This problem has now been fixed, and each shortcode should display its proper contents.

  • Documentation: Shortcodes are now more thoroughly documented; the helper box in the Attribution Boilerplate section now contains a full list and short description of all available shortcodes.

  • Interface and bugfixes: Some miscellaneous AJAX changes, styling improvements, and minor bug fixes.

Download and enjoy! As always, you have any issues with the release, or if there is anything that you would like to see included in a future release, please use the comments form or drop me a line to let me know about it.

Advertisement

28 replies to Add Attribution 2009.0730 fixes a couple bugs, and adds an [original-url] shortcode | Use a feed to Follow replies to this article | TrackBack URI

  1. 12n3 says:

    I cannot find the new setting panel inside my WP FeedWeordpress… can you help me? I’m using WP 2.8.2 with the last FeedWordpress.

    1- where is the panel Syndacation->Posts&links??? I have only Syndacation->Posts!!!

    2- there isn’t any “Attribution Boilerplate” new box in any of the settings page…

    The plugin is correctly activeted.

    What should I do?

  2. Rad Geek says:

    12n3,

    From your description, it sounds like you have not yet upgraded your copy of FeedWordPress to the development version. Add Attribution relies on interface hooks that were introduced in version 2009.0713 of FeedWordPress, and so are not in the current stable release (2009.0707). To fix the problems you’re encountering, you need to download and install the Development Version of FeedWordPress, or the next major public release, when it is released sometime in the next 1-2 weeks.

    Hope this helps.

  3. galerio says:

    Thanks!! It works great, but I prefer to choose by myself where to put the short-code in my theme, so, is there a way to call the function directly from the theme template? In this way I can add it only in “Single Post” template and in the right position I want.

    Thanks for your great work

    • Rad Geek says:

      galerio,

      If you are editing your template files then you can use FeedWordPress’s template tags directly, rather than having to use shortcodes. So, for example, to add a link back to the front page of the original source, you could use something like the following in your template:

      <?php if (is_syndicated()) : ?>
      <p>This story was originally syndicated from
      <a href="<?php the_syndication_source_link(); ?>"><?php the_syndication_source(); ?></a>.</p>
      <?php endif; ?>
      

      For documentation of the template tags that FeedWordPress makes available, see the FeedWordPress Documentation Wiki: Appearance.

  4. Ato says:

    Hi Rad, i have a problem (big problem), for database corruption i drop the wp_options tablet, and now all syndacated post before today haven’t attribution while all post syndacated from now.. have it.

    is it possible fix this? i have 600post without source now ;(

    • Ato says:

      i fix it for myself… for who need i explain my correction.

      repeat: it is for a my problem.

      the function..

      function addsourceinformationsimple ($element, $title, $id = NULL) { if (gettheauthor()!=”Admin”) : //if (issyndicated($id)) : $meta = getfeedmeta(‘add attribution rules’, $id); if ($meta and !is_array($meta)) : $meta = unserialize($meta); endif; [..]

      i modify the is_syndicated with other if.. so all post write not from the admin have the attribution on it.

  5. SteveFree says:

    The Shortcode is working well in that it’s dumping the link to the original post to the bottom of my post as I configured it to do.

    The problem is the url is in plain text and not a hyperlink.

    How do I use the shortcode: [original-url] however make it look like:

    Link to Original Article

    then when they click on that it takes them to the post?

  6. SocialDude says:

     <p>From <a href="[original-url]" rel="nofollow">[original-url]</a></p>
    
  7. Liekie says:

    I have the same problem as 12n3, I cannot find the new setting panel inside my WP FeedWordpress.

    1- where is the panel Syndacation->Posts&links??? I have only Syndacation->Posts!!!

    2- there isn’t any “Attribution Boilerplate” new box in any of the settings page…

    I run WordPress 2.8.4 dutch version and downloaded and installed most current version of Feedforwordpress 2009.0707 and add attribution 2009.0730.

  8. Liekie says:

    I have the same problem as 12n3: I cannot find the new setting panel inside my FeedWordpress.

    1- where is the panel Syndacation->Posts&links??? I have only Syndication->Posts!!!

    2- there isn’t any “Attribution Boilerplate” new box in any of the settings pages.

    I am running WordPress 2.8.4 dutch version, installed Feedforwordpress 2009.0707 and add attribution 2009.0730

    • Rad Geek says:

      Liekie,

      From your description, it sounds like you have not yet upgraded your copy of FeedWordPress to the development version. Add Attribution relies on interface hooks that were introduced in version 2009.0713 of FeedWordPress, and so are not in the current stable release (2009.0707). To fix the problems you’re encountering, you need to download and install the Development Version of FeedWordPress, or the next major public release, when it is released sometime in the near future.

      Hope this helps.

      -C

  9. Liekie says:

    Thx for the quick answer. I guess the first time I did not understand what you meant, so after sending my post I re-read your answer to 12n3 and installed the development version which I found here: http://downloads.wordpress.org/plugin/feedwordpress.zip But still no luck. At this moment I am trying uploading a clean install of WordPress to my testblog and try to install the development version again.

  10. wrongrobot says:

    yep, same here. USing latest build of WP (2.8.5) and the Add Attribution plugin installs fine but no options appear in the Syndication settings…

  11. wrongrobot says:

    everyone that can’t get the Atributes to show up: the original instructions to dl the development build are the key. The comments that folow, about the build of feedwordpress about to be released, that’s the confusing part, due to the date it was written and the lack of this actually happening. Just DL and install the development build and you’re golden.

    Awesome plug-in!

  12. Jay Versluis says:

    I have a question about Cron Jobs:

    I’ve recently installed WP Super Cache on my site, which makes it run a lot slicker (and prevent my server from crashing once a day). A side effect though is that Feedwordpress doesn’t get triggered for updates as often as it used to.

    In an older post you mentioned that for a proper Cron Job to trigger the plugin, we should fetch the main page (I believe that’s index.php) – however that file then redirects on the cached version of the front page, again not triggering the feed updates.

    Is there another (uncached) file I can trigger that will update my feeds?

    Thanks ;-)

  13. TechJockey says:

    Hi I am using wordpress MU Version 2.8.6, FeedWordPress Version 2009.1112 and Add Attribution for FeedWordPress Version 2009.0730.

    I can see the options in boilerplate panel, however after selection of shortcodes, settings are not getting saved. What could be the reason!

  14. Arno says:

    Hello Rad,

    this is truly a great plugin. I want to process RSS feeds with geotags and . Is there a possibility to process these feed items throught FeedWordpress, so I can publish my imported feeds with geotags?

    Arno

  15. Vincenzo says:

    Hi Rad Geek, I need to set, in every post I get, the name of the author to admin… I don’t want to leave the original author, in wp-o-matic this is a simple option. How is possible to do this in feedwordpress?

    • Rad Geek says:

      Vincenzo,

      Yes, you can do this in FeedWordPress using the Syndication –> Authors settings page. It is easiest to do when you set it up initially — using the “New authors” setting on the global settings page, just tell FeedWordPress that “Authors who haven’t been syndicated before … will have their posts attributed to admin.” (Since the admin account already exists, you shouldn’t need to create it. If you do need to create a user account at any point with a new name, you can do so by chosing “… will have their posts attributed to a new user” and filling in the user’s name in the text box that appears.

      If you already have syndicated content and you need to reassign existing posts, which were attributed to different users, to “admin” instead, the process is a lot more complicated, because you have to go through and undo the author mapping that has already been done. If this is the case, just drop me a line to let me know, and I’ll give you a detailed walk-through of how to fix this up on existing posts and feeds after-the-fact.

      Hope this helps. -C

  16. mamikaze says:

    Thanks for making this add-on. I have my syndications and cron jobs set up and they’re working. I was wondering if there is a way to alter titles as they post. The HTML comes in as

    Can I strip it out with an attribute?

  17. Rad Geek’s Projects » Add Attribution 2010.0207 includes a compatibility fix for more peaceful coexistence with other FeedWordPress add-on modules says:

    […] is a small compatibility release. It does not add any new features over those offered by version 2009.0730. (Like I said, Supported and mature.) But it does include a small but important change to the order […]

  18. Vladimir says:

    Hello RadGeek

    I have question regarding original link source-I found this other plugin:BM SHots http://www.binarymoon.co.uk/projects/bm-shots-automated-screenshots-website/ which use wordpress built in function to take automatic snapshots from page. What I would want is to integrate this feature into your Attribution boilerplate -original link source so i can have thumbnail beside link back to original post source. I tried just to embed his short-code int your but that wont work

  19. vladowsky says:

    Hello RadGeek

    I have question regard [original-url] shortcode. I found other plugin- BM shots link which allow to automatically take snapshot from any page and have shortcode too: [browsershot url=”http://link-to-website” width=”foo-value”] but when I tried to add [original-url] shortcode into another to get snapshot it wont work. Can you figure it out?

  20. Ollie says:

    Hi Rad,

    I have troubles to get the attributes links to show in excerpts, even the post themselves do not link back to the original source anymore!

    I am using WP.2.9.1 and the latest versions of your plugins.

    Thanks,

    Ollie

Post a reply

Posting comments

This form is for public comments. Consult About: Comments for policies and copyright details.

You can register for an account and sign in to verify your identity and avoid spam traps.

Formatting Comments

Use Markdown syntax for formatting.

  • *emphasis* = emphasis
  • **strong em** = strong em
  • [link](http://radgeek.com/) = link
  • `[_no_](format)` = [_no_](format)

Code blocks should be indented with four or more spaces at the start of each line:

    function _foo ($_bar) {
        return $_bar;
    } /* foo() */
By:
Your e-mail address will not be published.
Reply to Liekie