1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.
  2. This forum has been archived. New threads and replies may not be made. All add-ons/resources that are active should be migrated to the Resource Manager. See this thread for more information.

Auto Media Embeder

Discussion in 'Add-on Requests [Archive]' started by Dodgeboard, Oct 10, 2010.

  1. Dodgeboard

    Dodgeboard Well-Known Member

    For some reason, I never could get my members to embed media. They seem to like to post links.

    I'm not sure why this isn't in the native Xenforo Code.

    But, I'd sure like to have an AME for Xenforo.
    gib and jacko like this.
  2. jacko

    jacko Well-Known Member

    Yes, I would like that too. And I am also surprised it hasn't been implemented as a standard Xenforo feature. I mean - even Facebook has it! :)
  3. buro9

    buro9 Active Member

    I'd like to third this... but to not even call it AME, but simply a content regex find and replace for URLs... yes it could do media but I want it to also do affiliate schemes and skimlinks style things.

    What I want:
    1) A database table of rules defining what to find and how to rewrite/replace it (find URL, replace with embedded media).
    2) A hook that reads post content and if a URL exists will apply the rules.

    3) For the above to be open source hosted on github allowing others to work on it.
    4) For the above to be done so with a high-volume site in mind. I.e. to memcache the rules and to take advantage of any Xenforo post-parsed cache that appears in the future.
    5) For a cron job to load Skimlinks rules from an XML file.

    Actually... I may create this if no-one else does.
    gib likes this.
  4. buro9

    buro9 Active Member

    Right, I'm now working on this.
  5. buro9

    buro9 Active Member

    Got a basic version working... it's currently hard-coded and only has a few definitions, will optimise what I have and post it later today.
  6. buro9

    buro9 Active Member

  7. Floris

    Floris Guest

    AME was kinda horrible and overkill, but the ability to simply say: if someone pastes youtube or vimeo, auto embed it, .. would be great. And all that I would like out of it.
  8. Blandt

    Blandt Well-Known Member

    github ?
  9. Floris

    Floris Guest

    We love github! :D
  10. buro9

    buro9 Active Member

    Yup, github hosting the addition, but I'll push stable updates to the thread mentioned above too.

    Anyone is welcome to add definitions, eventually they will be stored in a database or config file... though right now they're hard-coded.
  11. Blandt

    Blandt Well-Known Member

    Ok Thanks ... :)

Share This Page