HFman
Forum Replies Created
-
Forum: Plugins
In reply to: [WP-PageNavi] Sticky posts creating a problemJust in case if my first post made things confusing – Here is my site:
https://www.bestwaytocookturkey.com/
I have 3 stickys on my home page, and I like to show 7 posts per page when paginating. Because of the 3 stickies if I set the default post-per-page to 7 pagenavi ends up displaying 10 posts on the first page and 7 for the rest. I reduced the default to 4, so pagenavi is now showing 7 posts for the first page, but now I get 4 posts per page for the rest.
I need to have 7 posts per page including the stikies. Could you make Pagenavi to adjust when sticky posts are used, perhaps with a user settings in the admin area, or automatically.
Thank you.
Forum: Plugins
In reply to: [HungryFEED] PaginationFound it: page_size.
thanksForum: Plugins
In reply to: [HungryFEED] [Plugin: HungryFEED] [ in data is causing problemsThat’s what kind of guessed too. Is there a way we can modify HF code to convert brackets to their ASCII chars as it grabs the feed?
Forum: Plugins
In reply to: [HungryFEED] [Plugin: HungryFEED] Google News ProblemsThe following works on a new domain but not the older ones:
[hungryfeed url=”https://news.google.com/news?hl=en&gl=us&q=gigi+chao&um=1&ie=UTF-8&output=rss” template=”3″]I even deactivated all other plugings from my test domain, and still no luck with google news.
The differece is though the domain that the feed is working is not hosted on HostGator!! If that has anything to do with it. But HF is getting all other feeds on the Hostgator host – it’s only the google news.
Here is the error
HungryFEED can’t get feed. Don’t be mad at HungryFEED. SimplePie reported: A feed could not be found at https://news.google.com/news?hl=en&gl=us&q=gigi+chao&um=1&ie=UTF-8&output=rss. A feed with an invalid mime type may fall victim to this error, or SimplePie was unable to auto-discover it.. Use force_feed() if you are certain this URL is a real feed.
Thank you
Forum: Plugins
In reply to: [HungryFEED] [Plugin: HungryFEED] Error Processing Feed: Undefined indexIn this case Google’s news feed for what ever reason caused the problem. I removed it, and things went back to normal!
But good to know about the filter
Thanks.
Forum: Plugins
In reply to: [HungryFEED] [Plugin: HungryFEED] Truncate TitleHi,
CSS is what i ended up using.
ThanksForum: Plugins
In reply to: [HungryFEED] [Plugin: HungryFEED] Code InjectionYour integration of mustach into the plugin was a very good move.
Based on your example its possible now to make different versions of a signle template just by creating quick-variables and switchig’em on/off from the HF shortcode.I just wonder what would happen to the execution speed if too many conditions are used in a template.
I’ll be puting that use for certain.
Thanks much!
Forum: Plugins
In reply to: [HungryFEED] [Plugin: HungryFEED] Code InjectionTested it – That works PERFECT!!!
The way you are coding is very cool since now we can name our own variable(s), and perhaps as many as we want?, in the HF shortcode.
After adding line 366, got it to work by adding two new variables my_text and my_text_url to HF shortcode; first one holding a text value and the other holding the URL. I also add the corresponding place holders {{my_text}} and {{my_text_url}} to the template.
Results are at https://www.youthumbs.com/headlines-sweep what now shows up at the bottom are resulats from the new variables instead of the previous feed_title variables.I’m sure I’ll bug you again with other request. There is just so much potential for this plugin.
THANKS A MILLION!
Forum: Plugins
In reply to: [HungryFEED] [Plugin: HungryFEED] Code InjectionHi,
The new addition does very much close to what I need – THANKS SO MUCH!
You can see it at https://www.youthumbs.com/headlines-sweep/
I have attached a URL to the feed_title at the bottom of each feed.Is there a way to activate and deactivate it throught the HF shortcode? Since we are limited to 3 templates, an on/off switch would help to only display the feed_title for certain needed feeds, on a multi-feed page.
I’ll expriment with the shortcode and mustach implamentations.
Do you think you’ll be adding the two additional variables to HF shortcode so we can pass our own text, and URL to templates? This way we pass any text (for example ‘CNN’) and url (e.g. “https://www.cnn.com”) to the template from HF shortcode.
Great improvements to an already great plugin.
Thanks again!
Forum: Plugins
In reply to: [HungryFEED] [Plugin: HungryFEED] Code InjectionThat’s great – thanks.
And thank you for your prompt response.
As for the code injection; ‘mustache’ looks interesting and seems to be the answer. OR if HF provides a new variable to set interval for injection, then perhaps a second varibale perhaps can pass a shortcode to the template – and the shortcode will holed the code for adsense or whatever. so for example every 3 or 2 or.. results the shortcode passes external code into the template through HF. That maybe easy also, except for setting up the logic for the interval perhaps – you know best. I’m using ‘Shortcodes’ plugin with HF right now for a different purpose. In https://www.youthumbs.com/most-recent-headlines/ i’m using HF to pull all feeds. The categorized results section, is HF used within a shortcode plug.
Forum: Plugins
In reply to: [HungryFEED] [Plugin: HungryFEED] HungryFeed Search functionGot it – thanks!
Forum: Plugins
In reply to: [HungryFEED] [Plugin: HungryFEED] Code InjectionThat’ll be great if that is integrated.
Also one more request is that when displaying news feeds from one specific source, i’d like to insert the news provider’s name and link on top or bottom of each rss result. Perhaps the shortcode itself can also pass a couple of more variables to the templates. One or two variable(s) perhaps for plain text, and another one or two variables for html-links to those texts.Forum: Plugins
In reply to: [HungryFEED] thumbnail / image as item fieldThank you for your VERY prompt response.
for my specific situation what I ended up doing to separate images from the feed was using the following code based on your suggestion:<img src=”{{select(attr:src).img:first}}”>
I tried to only use the selector without inclosing it into the img tag, and I wasn’t able to get it to work that way.
You are right; each situation is different, it takes some trial and error to take ‘description’ a part for what’s needed.
Would it be possible to add more template fields, OR perhaps to make the shortcode to accept selectors to acomodate different situations?
Thanks much for your help and the great plugin.