1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

CMF HTML Feed - Fetch and Parse External Content [Paid] 1.0.2

External content can be fetched and parsed from any site as simple as from RSS feed.

  1. Yoskaldyr

    Yoskaldyr Well-Known Member

    Yoskaldyr submitted a new resource:

    CMF HTML Feed - Fetch and Parse External Content - External content can be fetched and parsed from any site as simple as from RSS feed.

    Read more about this resource...
     
    Mirovinger, resonansER and 51463 like this.
  2. Kintaro

    Kintaro Well-Known Member

    I like it! But... it support xpath?

    I'm asking it because to fetch and parse websites it's way better using xpath instead of regular expressions. HERE you can find a longer explanation.
     
  3. Yoskaldyr

    Yoskaldyr Well-Known Member

    Regular expressions can be used only for filtering after getting element by css selector.
    ZF internals already use xpath converted from css selector. So I can add a new option for using xpath instead of css selector if you need.
     
  4. kleezy

    kleezy Member

    Is there a public demo where I can see this in action. I want to see how it phrases content from a known website and then compare how the native RSS within Xenforo does it.

    How would it for example pull content from http://www.reddit.com/r/thewholecar and make it look better then what RSS does.
     
  5. Yoskaldyr

    Yoskaldyr Well-Known Member

    You can configure a final view of the thread/post exactly as you wish. Each element of the feed/news entry is parsed by own css selector and it can be filtered or modified by regular expression after that. And result of this steps you can use in the post template as template var.

    In the one of the next releases a custom php callback handling will be added and attachment uploading will be added too.
     
  6. kleezy

    kleezy Member

    Thanks for the explanation.

    Is there a demo forum where I can see it in action ? In the case of free of charge add-on's I test things out a discard. In the case of £20.00 discarding does't come as easy.
     
  7. Yoskaldyr

    Yoskaldyr Well-Known Member

    @kleezy, If you provide a page to be parsed and style of what you want to see as result than I will create a demo forum on my site with auto parsed threads
     
  8. kleezy

    kleezy Member

    Awesome !

    Try this one: http://www.reddit.com/r/thewholecar
     
  9. Yoskaldyr

    Yoskaldyr Well-Known Member

    @kleezy, but how exactly you want to see a resulting thread?
    Because each entry link is a galery with many images.
    Right now add-on can not download images and convert images to attachments. But it will be one of the next features.
     
  10. Yoskaldyr

    Yoskaldyr Well-Known Member

    51463 and Mirovinger like this.
  11. Daniel-SP

    Daniel-SP Active Member

    Well.. we just wanna see a demo so whatever you convert is fine. A least for me :)
     
    51463 likes this.
  12. Yoskaldyr

    Yoskaldyr Well-Known Member

    @Daniel-SP If you provide a link to the site what you want to parse and how exactly post must look than I can create html-feed.
     
  13. Daniel-SP

    Daniel-SP Active Member

    51463 likes this.
  14. Yoskaldyr

    Yoskaldyr Well-Known Member

  15. Kintaro

    Kintaro Well-Known Member

    If I understand it well so is possible to put information gathered from the addon in template vars and using them during the creation of a new thread?

    another thing, is it possibile to post to a specific thread or to the initially created thread instead of create every time a new thread?
     
    51463 and resonansER like this.
  16. Yoskaldyr

    Yoskaldyr Well-Known Member

    Not template vars. During creation you can use the same variables as with xenforo rss feed ({content} {title} {description} {link} {image} {author} etc...). But any other variables can be added by custom PHP callback.
    Yes, with "Append If Title Exists" checkbox enabled:
    [​IMG]
     
  17. Yoskaldyr

    Yoskaldyr Well-Known Member

  18. Yoskaldyr

    Yoskaldyr Well-Known Member

    @Kintaro In results of demo feed parsed only first full image because other images provided by json (can not been parsed by css selector). And php callback is needed for parsing it.
     
  19. Yoskaldyr

    Yoskaldyr Well-Known Member

    51463 and Mirovinger like this.
  20. Kintaro

    Kintaro Well-Known Member

    When posted content is parsed like a manual post?
    In the Amazon example if an addon that transform Amazon link in affiliate is installed it will works?
     

Share This Page