cmsms rss generation - content-management-system

I'm new to cmsms, i have installed a news module in it,now i have to create an rss for this news section, how can i generate an rss for my news section.
what are steps to display that generated rss in any of my page.
can any one guide me with correct path.
Thanks in advance

Install the CGFeedMaker module. It already has a predefined template for the the News module, but you'll need to edit the values for name, copyright, etc. Do that through Extensions >> Calguy's Feed Maker and pick the "news" feed.
Then, in your template, insert {CGFeedMaker action='autodiscovery' feed='news'} in between your head tags.
You should be good to go after that.

Related

WordPress RSS feed using FishPig for Magento 2

Is it possible to display an RSS feed using FishPig for Magento 2? The official WordPress documentation for RSS feed (https://codex.wordpress.org/WordPress_Feeds) doesn't seem to apply in this case; is this built-in functionality that I can take advantage of, or will I need to extend the module and build out a custom feed?
Thanks in advance!
To display RSS feeds, you will need the Shortcodes and Widgets add-on module. This will get all feeds of all types working automatically. It will also allow you to use any shortcode based WordPress plugin (page builders, form plugins, sliders etc).

Generate json feed from ext:news

TYPO3 7.6.16 ext:news 5.3.2
We're looking to create a json stream of news stories that have been created in the CMS so that we can consume the feed in other applications.  For each element in the feed we're looking include some simple properties such as the news story name, when it was published and a link to the news story, so that we can direct someone back to the relevant page on the Website.  
We've been able to return a list of news stories by querying the tx_news_domain_model_news table.  From this table we've been able to query all the information that we need from the story, but we're having trouble building a link to the story.
The links that the news plugin is building for each story at the moment takes the form:
/story/tx_news_pi1%5Bnews%5D=18&tx_news_pi1%5Bcontroller%5D=News&tx_news_pi1%5Baction%5D=detail&cHash=a6e542381e508c0501a09383cedc4d70.
So the id field of the news story field is included as a parameter.  We've tried making links by adjusting this parameter for the various Ids of different news stories, but each link allways returns the same news item.  So we are assuming that the hash value for each nwes story has to be calculated for each item to find the correct story.
Our question is.  Is it possible to build a unique URL for each story based on the information in the tx_news_domain_model_news table or is there a better way to create a JSON feed for each news story which includes the link to the original article.
You could define a special page rendering. either a new page or a new pagetype of an existing page.
You use a page object and instead of the usual include of a template the whole content is generated by a CONTENT object. With this you select all news records and define a renderobject where you can use FLUIDTEMPLATE or build up the rendering in typoscript.
In this way you can generate 'normal' URLs, which also might be niced by realurl.
If you want to output other formats than HTML you propably need to escape string-delimiters in your texts and strings.
Fluid templates may be a little bit complex if you have a format where whitespace is important. In typoscript whitespace can be handled with stdWrap.noTrimWrap

Joomla k2 items additional meta tags

I use joomla with k2 and i need to add Opeh Graph meta tags to my items. I alreday have meta description and others which i don't need. I need to add meta og:image ,og:image:height and og:image:width. I try to do this with JS, but than facebook grabber doesn't see my meta tags. So i need to add them with backend part. Also i need the oportunity to change thir values from my admin panel. Maybe you know some plugins(free) or something else?
Thanks!
There is a free plugin and component by ITPrism http://itprism.com. You can find it here http://extensions.joomla.org/extension/itpmeta.
The site where you can directly download is http://itprism.com/free-joomla-extensions/others/open-graph-meta
NOTE: You have to install the ITPrism library too. So you need to install two packages. The downloads can be found at the bottom of these pages
Main component Download
http://itprism.com/free-joomla-extensions/others/open-graph-meta
ITPrism Library
http://itprism.com/free-joomla-extensions/others/software-development-kit
Download the latest version 1.14.
This will work perfectly and solve your issue. No need of JS.
K2 has OpenGraph properties out-of-the-box. I've confirmed on a K2 site I have built that the og:image tag is there for K2 items and categories. However, I have never seen any use of the og:image:height and og:image:width tags. These are valid Structured Properties, but they are optional and rarely get used. Thus, you will likely have to override K2 to output those values.
For the rest of your pages, you can try the Phoca Open Graph Plugin. I have used that with good success, as well.

how to get news full content from rss feed in j2ee

I am developing a site which is supposed to get the news content of other sites, something like this. but without redirecting to the host for reading the news content.
now the problem is that I don't know what is the best way to get the content completely. I know that I can use RSS feed for each site but it has only a short description of each news not the whole story. I have also read the related questions in SO like these:
How to get the full content from the rss feed in javascript
How to extract the full content from a partial content rss
but none of them solved my problem .
now I wanna ask what is the best way to get the whole content of news from different sites if it is necessary to go directly to them?
I am sorry because of bad english and if my question is not clear enough I can explain it even more
thanks in advance
You could use web scraping library like boilerpipe to extract content from news sites, but scraping breaks easily(if the target site changes layout for example) and there might be legal issues in extracting full content from other sites and displaying in yours.
Edit: I tried boilerpipe api demo and the library seems very smart at extracting articles from web pages.

How to share a few specific elements of a page only

I have a page of products on my website with a share button on each, now how can I tell facebook to automatically select the title and image of the product shared rather than the whole page.
A link to my site
The site is written using php on smarty type script with tpl files,
ps i dont really know php very well.
Thanks in advance :)
A server side scripting language would be the easiest:
in php you could share the page + an extra variable , then if your page detects this variable you can set specific meta data.
http://www.fancydressclothing.net/categories/49/1950s-Costumes.php?product=1
And in php fetch the correct data for product 1 and set the meta data:
http://developers.facebook.com/docs/opengraph/
You should use a canonical URL for each product which will help in two ways. One with the facebook linter getting the correct og tags. And two, helping your SEO rankings too.