We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 25080
    • 175 Posts
    Quote from: Rikle_S at Aug 04, 2008, 01:27 AM

    I retry.

    Is it possible with Feedx, that when i parse one site whitch is "this-site.com" whitch publish an article "title of the article", i have the liste of his news like this :

    News on this-site.com
    -title of the article
    -title of the article2
    -title of the article3

    etc

    And, when i clic on the news, i stay (for the moment) on my web site, and i have article’s description like this :

    Title of the article (is the link for the complete news)
    description description description description description description description

    And, that the url of this page is :
    my-website.com/title-of-article.html

    And all the news will be archive for keep the urls and not have 404.

    (sorry for my english...)


    please :/
      • 22303 MODX Staff
      • 10,725 Posts
      Rickie_S: no, that is not really possible with FeedX as is. You would need to write a custom snippet to create a document from each feed article, and that would not be easy to manage, or change over time. Generally people create local articles and distribute them with a feed or present external feeds on their sites that link back to the original source; you are talking about using feeds to create local content, which, in most situations, is nothing more than stealing someone else’s content for your own SEO benefits.
        • 25080
        • 175 Posts
        I don’t think it’s stolen, lot of site do this...
        A description of the feed (30 words...) isn’t all the article but just the beginning.
          • 28042 ☆ A M B ☆
          • 24,524 Posts
          Just because "a lot of sites do that" (now that one takes me back to one of my kids’ favorite whines when I wouldn’t allow something) doesn’t mean it’s not a copyright violation. The site owner generates the feed with the content he wants to distribute. Taking more than he released would be like seeing "free samples" for something in the supermarket and walking out with a package or two of the item being sampled (well, not exactly, since copyright infringement is not "theft" by definition, but the principle is the same).

          At the very least, it would be polite to contact the site owner and ask first.
            Studying MODX in the desert - http://sottwell.com
            Tips and Tricks from the MODX Forums and Slack Channels - http://modxcookbook.com
            Join the Slack Community - http://modx.org
            • 25080
            • 175 Posts
            I’ve do it !
            Everybody know how i want to do that and tjere is no problem....

              • 22303 MODX Staff
              • 10,725 Posts
              Regardless of the content issue, this is not a typical request, and you would do better to create some kind of dynamic RSS viewer than can cache results locally, and present both a summary and detail view of that information. Then you won’t be creating new database records for every RSS story. That would become unruly as I mentioned. It would be much easier to create a snippet to present one record from your cached RSS.
                • 27228
                • 18 Posts
                I’ve created a template called "mp"

                when I call FeedX with &preset=`mp` it works fine for most of the tpl fines, with the exception of first, last and odd. Do we need to specify something for these tpls to work properly?

                sc.
                  • 16903
                  • 39 Posts
                  Aloa,

                  i like the feedx plugin very much! Great work btw.! At the moment i have a big problem with an complex xml feed which i can’t solve. Maybe somebody can give me a hint!?

                  Template-Builder says...

                  GETFZLISTEREQUEST
                  [+REQUESTERCREDENTIALS+]
                  [+VERSION+]
                  [+ADSERVER+]
                  [+REQUESTRESULT+]

                  FAHRZEUGE
                  [+GESAMT+]
                  [+AKTUELL+]
                  [+FAHRZEUG.ID+]
                  [+FAHRZEUG.VALUE+]
                  [+FAHRZEUG.1.ID+]
                  [+FAHRZEUG.1.VALUE+]
                  [+FAHRZEUG.2.ID+]
                  [+FAHRZEUG.2.VALUE+]
                  [+FAHRZEUG.3.ID+]
                  [+FAHRZEUG.3.VALUE+]
                  [+FAHRZEUG.4.ID+]
                  [+FAHRZEUG.4.VALUE+]
                  [+FAHRZEUG.5.ID+]
                  [+FAHRZEUG.5.VALUE+]
                  [+FAHRZEUG.6.ID+]
                  [+FAHRZEUG.6.VALUE+]
                  [+FAHRZEUG.7.ID+]
                  [+FAHRZEUG.7.VALUE+]
                  [+FAHRZEUG.8.ID+]
                  [+FAHRZEUG.8.VALUE+]
                  [+FAHRZEUG.9.ID+]
                  [+FAHRZEUG.9.VALUE+]
                  [+FAHRZEUG.10.ID+]
                  [+FAHRZEUG.10.VALUE+]
                  [+FAHRZEUG.11.ID+]
                  [+FAHRZEUG.11.VALUE+]
                  ... and so on!

                  FAHRZEUG
                  [+KUNDE.ID+]
                  [+KUNDE+]
                  [+BEREICH.ID+]
                  [+BEREICH+]
                  [+FZTYP.ID+]
                  [+FZTYP+]
                  [+MARKE.ID+]
                  [+MARKE+]
                  [+MODELL+]
                  [+MODELLREIHE.ID+]
                  [+MODELLREIHE+]
                  [+GETRIEBEART.ID+]
                  [+GETRIEBEART+]
                  [+SCHALTART.ID+]
                  [+ANTRIEBSART.ID+]
                  [+ANTRIEBSART+]
                  [+AUFBAUART.ID+]
                  [+AUFBAUART+]
                  [+ERSTZULASSUNG.TC+]
                  [+ERSTZULASSUNG+]
                  [+LAUFLEISTUNG.ID+]
                  [+LAUFLEISTUNG+]
                  [+LEISTUNG.ID+]
                  [+LEISTUNG+]
                  [+LEISTUNG.1.ID+]
                  [+LEISTUNG.1+]
                  [+HUBRAUM.ID+]
                  [+HUBRAUM+]
                  [+TUEREN.ID+]
                  [+TUEREN+]
                  [+BESITZER+]
                  [+HSN+]
                  [+TSN+]
                  [+PREIS.CURR+]
                  [+PREIS+]
                  [+MWST.ID+]
                  [+MWST+]
                  [+FOTOS.ANZAHL+]
                  [+FOTOS.URL+]

                  I have the following chunks...

                  outer.tpl
                  {{GETFZLISTEREQUEST->fahrzeuge}}


                  fahrzeuge.tpl
                  {{FAHRZEUGE->inner}}


                  inner.tpl
                  <div class="container">
                  {{FAHRZEUG->item}}
                  </div>


                  item.tpl
                  <div class="offer">
                    <a href="gebrauchtwagen_details.htm?id=[+FAHRZEUG.ID+]" title="Angebot anschauen">
                    <img src="http://bilder.autodo.de/1585/1585011a.jpg" width="199" height="149" alt="" />
                    <strong>[+MODELL+]</strong>
                    <span class="details">EZ: [+ERSTZULASSUNG+], [+LAUFLEISTUNG+] km, [+LEISTUNG+] kW</span>
                    <span class="price"><strong>€ [+PREIS+]</strong><em>MwSt ausw.</em></span>
                    </a>
                  </div>


                  The problem is, that i need to grap the ID from the car (Fahrzeug) in order to link to an detail page. It seems, that i can’t reach the ID while i’m "in" item.tpl!
                  How can i build the link to the detail page (gebrauchtwagen_details.htm?id=[+FAHRZEUG.ID+]) to display all the details for the corresponding id?

                  HELP, i need somebody... ;-)

                  See’ya
                  Rohal

                    • 25483
                    • 741 Posts
                    Can I use FeedX to import rss articles as documents into modx?

                    I want to be able to add my twitter feed to my blog, so that I can create a lifestream blog.
                      with regards,

                      Ronald Lokers
                      'Front-end developer' @ h2o Media

                      • 7563
                      • 17 Posts
                      Hi, I’m using FeedX to list RSS news titles with their dates, but I can’t get the date to display properly. I’ve added a PHx parameter, but all it gives me is the 1st January 1970 date instead of the proper time of creation of the news article. From what I’ve read on the forums this is a unixtime conversion issue that can be solved by using a Unixtime widget. But I don’t see how to use the Unixtime feature in a chunk.

                      In my "item" chunk, this is what I’ve got:
                      <li>[+PUBDATE:date=`%d/%m/%Y`+] - [+TITLE+]</li>

                      Which gives me:
                      01/01/1970 - Title

                      I’ve tried with a RSS and RDF feed (with a different placeholder for the date), and it’s the same...

                      How can I format the time in FeedX?

                      Thanks