Giter VIP home page Giter VIP logo

feed-pull's People

Contributors

danielbachhuber avatar dtygel avatar mattsims avatar sc0ttkclark avatar tannerm avatar tlovett1 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

feed-pull's Issues

Help request; feed-pull content lay-out

Hi,

I have a question. I installed the feedpull plugin and I am now able to retrieve data from the XML-feed into a post or page.
It now creates for each post a new page, which is okay. But my question is how can I create a lay-out so the main content in the post or page is displayed for each item in the same way?
Can I create some sort of template? Please advise. I never worked with this before so I hope you are willing to explain a little bit how I can do this.

Thanks in advance! :-)

Suggestion: grab first image in content as featured image

Hi,

I would like to make a suggestion, which I could try to help programming: In the feed source edition page, there could be an input called "XPath to grab featured image". Then the user can put a XPath, and feed pull will first see if the content is html or simply an url of an image. If it's HTML, feed pull will parse the first "img" tag and get the 'src' attribute. If it's only an url, this will be the image url.

Then feed pull would add this url as featured image for the posts loaded on each feed pull.

Is this interesting or under the scope of the plugin?

Mapping a field attribute?

I know you can map an element such as The Catcher in the Rye

but are you able to reference the attribute of an element such as

In the above example I want to map the name attribute to a field. I cannot seem to find an answer to this. Is this existing functionality? I have tried mapping person["name"] but it doesn't map anything.

Error while Pull

Hi,

We are receiving following error while doing feed pull

Status : Pulling feed
Warning : Xpath to source field returns nothing for HtmlBody
Status : Attempting to update post with guid
Status : Updated post - Edit Post
Warning : Xpath to source field returns nothing for HtmlIntro - Edit Post
Warning : Xpath to source field returns nothing for HtmlContact - Edit Post
Warning : Xpath to source field returns nothing for HtmlBody

Question: dealing with HTML entities in nodes

Hi, thanks for a great plugin which I am using to pull in an RSS feed from the main University news feed into our departmental website. Rather than using a [media] node, the featured image is included in the [description] node.

I am trying to pull the src of the image with //item/description//img[@Class='cam-scale-with-grid']/@src and mapping it to post_content as a test.

Unfortunately it would appear that because the feed source uses HTML entity names the XPath above does not work. I have duplicated this with a couple of XPATH validators, and it would seem that if I replace the HTML entity names with, for example "/, < or > the XPATH works.

Am I missing something, or I am attempting the impossible. Please feel free to delete this post if this is the wrong place to post it!

Feed Pull with WP Fastest Cache

It seems there are some problems with the cron job resp. the publishing of my posts using Feed Pull together with activated WP Fastest Cache. Could this be possible caused an issue? And, of course, what could I do to run the Feed Pull cron successfully?

Best
Sebastian

Batch adding feed sources

Hi,

I have loads of feed sources to load. Is there a way to programatically add feed sources from a csv file? I already have this table with the feed source name, url, XPath, and mapping. Doing it manually will be really tough.

Thanks!

Adding translations

Hi,
I've just translated the feed-pull.pot file and saved to feed-pull-pt_BR, but it doesn't get loaded. Is there anything that must be set in the plugin code to load the language files from the language set in the wordpress site?
Ah: and how do I send you my translation to contribute to your plugin?
Thanks,
daniel

Get post tags from a comma separated XML term

The XML feed provide the keywords/tags for a post like this:

tag1, tag2, tag3, tag4

I tried to use /keywords/text() and yes, I will get ONE tag like "tag1, tag2, tag3, tag4", but unfortunately Wordpress do not understand this term as four separate tags.

So, how could I extract the tags in a way Wordpress can handle them?

Best
Sebastian

Be able to select whether feed is from WordPress or not

When dealing with entering many WordPress feeds, it'd be great to be able to click a button to apply the WordPress XPath / Namespaces (dc/content) / Field mapping etc.

It could be JS or PHP based, so you add a new feed, then you can click "This is a WordPress Feed" and it will load up the defaults from a local JS variable (not AJAX, since we could know what they are since they're all the same).

Multiple category

Is it possible to map the category by feed?

If I choose one category in "Automatically Add New Posts to Categories:", could I also add another category by feed? I tested that but the category by feed override the "Automatically Add New Posts to Categories:".

Error: Could not create post: Content, title, and excerpt are empty.

Hi,

Trying to use your plugin to pull in this feed:
http://tickets.courttheatre.org/feed/events/

Every record fails, giving me the error I put as the subject for each record. I've tried simplifying the field mapping, changing the post type to standard post (was trying to create event records)

The XML file looks fine, there's definitely data in the XPaths I'm using, but still I can't create posts because it says the above error.

Any suggestions?

Edit: Just noticing that this is probably worth mentioning too: I am using a node called DirectLink in the XML which is a url formatted link to a page for the guid. However, every record I am trying to insert says:

Status : Attempting to update post with guid Array

It's seeing an array for the guid, not the node value. Using a different node did not change it.

Thanks.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.