<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
<channel>
<title>Question2Answer Q&amp;A - Recent questions tagged news</title>
<link>https://www.question2answer.org/qa/tag/news</link>
<description>Powered by Question2Answer</description>
<item>
<title>Add your site to Google News</title>
<link>https://www.question2answer.org/qa/107009/add-your-site-to-google-news</link>
<description>

&lt;p&gt;I tried to add my site to Google News some time ago, but it did not recognize the feed link that I provided it with.&lt;/p&gt;

&lt;p&gt;But a few days ago, Google News began to accept the feed link, and my site was activated.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Here is the feed link you can use:&lt;/strong&gt;&lt;/p&gt;

&lt;blockquote&gt;

&lt;p&gt;yourdomain.com/?qa=feed/questions.rss&lt;/p&gt;&lt;/blockquote&gt;

&lt;p&gt;&lt;strong&gt;Google News features:&amp;nbsp;&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;

&lt;li&gt;Instant archiving of your articles in the search engine.&lt;/li&gt;

&lt;li&gt;appear in the news box.&lt;/li&gt;&lt;/ul&gt;

&lt;p&gt;There are many other advantages that you can look for.&lt;/p&gt;

&lt;p&gt;If you need help, you can contact me.&lt;/p&gt;</description>
<category>Q2A Core</category>
<guid isPermaLink="true">https://www.question2answer.org/qa/107009/add-your-site-to-google-news</guid>
<pubDate>Fri, 31 Mar 2023 19:17:47 +0000</pubDate>
</item>
<item>
<title>Is there any google news sitemap plugin?</title>
<link>https://www.question2answer.org/qa/98238/is-there-any-google-news-sitemap-plugin</link>
<description>Is there any google news sitemap plugin?</description>
<category>Plugins</category>
<guid isPermaLink="true">https://www.question2answer.org/qa/98238/is-there-any-google-news-sitemap-plugin</guid>
<pubDate>Sat, 11 Dec 2021 07:17:14 +0000</pubDate>
</item>
<item>
<title>What were the last plugins developed?</title>
<link>https://www.question2answer.org/qa/59808/what-were-the-last-plugins-developed</link>
<description>greetings to the community q2a</description>
<category>Plugins</category>
<guid isPermaLink="true">https://www.question2answer.org/qa/59808/what-were-the-last-plugins-developed</guid>
<pubDate>Thu, 21 Sep 2017 12:57:49 +0000</pubDate>
</item>
<item>
<title>How to integrate &quot;News script php pro&quot; ?</title>
<link>https://www.question2answer.org/qa/31883/how-to-integrate-news-script-php-pro</link>
<description>Hi, &lt;br /&gt;
&lt;br /&gt;
I would like to know if is possible to integrate &amp;nbsp;News Script PHP Pro in Q2A or create a plugin to add a News. &lt;br /&gt;
&lt;br /&gt;
i try but maybe i make some mistake. You can see a demo for this script below: &lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;http://newsscriptphp.com/newsscriptphppro/&quot; rel=&quot;nofollow&quot;&gt;http://newsscriptphp.com/newsscriptphppro/&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
If someone have an idea, welcome&lt;br /&gt;
&lt;br /&gt;
Thank you for you answer&lt;br /&gt;
&lt;br /&gt;
Cordially Claude</description>
<category>Q2A Core</category>
<guid isPermaLink="true">https://www.question2answer.org/qa/31883/how-to-integrate-news-script-php-pro</guid>
<pubDate>Fri, 14 Feb 2014 10:06:43 +0000</pubDate>
</item>
<item>
<title>Posting Q2A News regularly: Mini Blog or News-Tag that can be subscribed to RSS (@gidgreen)</title>
<link>https://www.question2answer.org/qa/25378/posting-news-regularly-mini-blog-news-subscribed-%40gidgreen</link>
<description>

&lt;p&gt;
	Just found a new note in the top right box: &lt;em&gt;To report a bug, please ask a question with the &quot;bug&quot; tag. &lt;/em&gt;That reminds me that until today it was &lt;strong&gt;kind of coincidence getting informed about news of q2a.&lt;/strong&gt;&lt;/p&gt;


&lt;p&gt;
	@gidgreen: We would prefer &lt;strong&gt;subscribing to a RSS feed&lt;/strong&gt; to know instantly what is new. In this way everything would be more transparent.&lt;/p&gt;


&lt;p&gt;
	What about opening a mini blog where you just write &lt;strong&gt;only 1 or 2 lines&lt;/strong&gt; quickly as soon as you add a feature, change something in the core, when a plugin is published etc.&lt;/p&gt;


&lt;p&gt;
	Or even better: &lt;span style=&quot;color:#0000ff;&quot;&gt;Post quick news with &quot;news&quot; tag here in the q2a forum. &lt;/span&gt;Then we could subscribe to the&amp;nbsp;&lt;span style=&quot;color:#0000ff;&quot;&gt;&lt;strong&gt;&quot;news&quot;&lt;/strong&gt; tag&lt;/span&gt;: &lt;a href=&quot;http://www.question2answer.org/qa/feed/tag/news.rss&quot; rel=&quot;nofollow&quot;&gt;http://www.question2answer.org/qa/feed/tag/news.rss&lt;/a&gt; → But this requires that you, gidgreen, are using this tag =)&lt;/p&gt;


&lt;p&gt;
	
&lt;br&gt;
	This &quot;news thing&quot; would help all the community to stick together and keep up-to-date.&lt;/p&gt;


&lt;p&gt;
	Thank you!
&lt;br&gt;
	Kai&lt;/p&gt;


&lt;p&gt;
	&amp;nbsp;&lt;/p&gt;


&lt;p&gt;
	Alternatively you could use a blog engine:&lt;/p&gt;


&lt;p&gt;
	- wordpress blog, e.g. q2a.wordpress.com is free&lt;/p&gt;


&lt;p&gt;
	- blogger blog, e.g. q2ablog.blogspot.com is free&lt;/p&gt;</description>
<category>Q2A Core</category>
<guid isPermaLink="true">https://www.question2answer.org/qa/25378/posting-news-regularly-mini-blog-news-subscribed-%40gidgreen</guid>
<pubDate>Wed, 10 Jul 2013 01:59:44 +0000</pubDate>
</item>
<item>
<title>Export User-Mails to write Newsletters</title>
<link>https://www.question2answer.org/qa/5169/export-user-mails-to-write-newsletters</link>
<description>I know that some users before asked, if it would be possible to write newsletters to all users, but sadly it still is not planed. However another way, that i guess is much more simple to develop is an option to export all user-mails. After that you can import it to aweber, mailchimp or icontact and send it out when you got news.</description>
<category>Q2A Core</category>
<guid isPermaLink="true">https://www.question2answer.org/qa/5169/export-user-mails-to-write-newsletters</guid>
<pubDate>Thu, 17 Mar 2011 05:14:40 +0000</pubDate>
</item>
<item>
<title>Xpression news integration</title>
<link>https://www.question2answer.org/qa/4774/xpression-news-integration</link>
<description>

&lt;p&gt;
	Hi everybody,&lt;/p&gt;


&lt;p&gt;
	I did ad-hoc code to modify question2answer, after few days hard worked, I almost get things i need. This is my site: &lt;a href=&quot;http://www.tenkana.x10.mx&quot; rel=&quot;nofollow&quot;&gt;http://www.tenkana.x10.mx&lt;/a&gt;&lt;/p&gt;


&lt;p&gt;
	One more thing I want is a simple news module. I dont want to integrate with WP or any CMS for some reasons so I decided to use &lt;a rel=&quot;nofollow&quot; href=&quot;http://www.xpression-news.com&quot;&gt;Xpression news&lt;/a&gt; (Xnews). This is a simple news software and it is said that integrating with existing website is very simple with Xnews. I tried to integrate Xnews module to Question2Answer for days but cannot make it done so I post my problem here for some help.&lt;/p&gt;


&lt;p&gt;
	First, I describle what I have done to integrate Xnews with Question2Answer.&lt;/p&gt;


&lt;p&gt;
	1. my QA site is located at localhost/qa. I extract Xnews into this directory and call it from question2answer.&lt;/p&gt;


&lt;p&gt;
	2. in qa-include i create file named qa-page-news.php. Here are the code inside:&lt;/p&gt;


&lt;p&gt;
	&amp;nbsp;&amp;nbsp;&amp;nbsp; if (!defined('QA_VERSION')) { // don't allow this page to be requested directly from browser
&lt;br&gt;
	&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; header('Location: ../');
&lt;br&gt;
	&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; exit;
&lt;br&gt;
	&amp;nbsp;&amp;nbsp; &amp;nbsp;}
&lt;br&gt;
	&amp;nbsp;&amp;nbsp; &amp;nbsp;
&lt;br&gt;
	&amp;nbsp;&amp;nbsp; &amp;nbsp;require_once QA_INCLUDE_DIR.'qa-app-format.php';
&lt;br&gt;
	&amp;nbsp;&amp;nbsp; &amp;nbsp;$template=&amp;quot;Lite&amp;quot;;
&lt;br&gt;
	&amp;nbsp;&amp;nbsp; &amp;nbsp;$qa_content=qa_content_prepare();&amp;nbsp;&amp;nbsp; &amp;nbsp;
&lt;br&gt;
	&amp;nbsp;&amp;nbsp; &amp;nbsp;
&lt;br&gt;
	&amp;nbsp;&amp;nbsp; &amp;nbsp;require_once 'xnews/news.php'; // code to extract content from xnews
&lt;br&gt;
	&amp;nbsp;&amp;nbsp; &amp;nbsp;$qa_content['custom'] = $xout;
&lt;br&gt;
	&amp;nbsp;&amp;nbsp; &amp;nbsp;
&lt;br&gt;
	&amp;nbsp;&amp;nbsp; &amp;nbsp;return $qa_content;&lt;/p&gt;


&lt;p&gt;
	3. Next, I modify a bit in qa-page.php:&lt;/p&gt;


&lt;p&gt;
	- Add one more line in to $qa_routing array as below:&lt;/p&gt;


&lt;p&gt;
	&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 'feedback' =&amp;gt; QA_INCLUDE_DIR.'qa-page-feedback.php',
&lt;br&gt;
	&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 'news' =&amp;gt; QA_INCLUDE_DIR.'qa-page-news.php', // define new page for news&lt;/p&gt;


&lt;p&gt;
	- Add pieces of code at 'include the appropriate PHP file for the page in the request' like this:&lt;/p&gt;


&lt;p&gt;
	} elseif ( ($qa_request_lc_parts[0]=='user') &amp;amp;&amp;amp; strlen(@$qa_request_parts[1]) ) {
&lt;br&gt;
	&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; $pass_handle=$qa_request_parts[1]; // effectively a parameter that is passed to file
&lt;br&gt;
	&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; $qa_template='user';
&lt;br&gt;
	&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; $qa_content=require QA_INCLUDE_DIR.'qa-page-user.php';
&lt;br&gt;
	&amp;nbsp;&amp;nbsp; &amp;nbsp;
&lt;br&gt;
	&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }
&lt;br&gt;
	&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; /*-- My code added here --*/
&lt;br&gt;
	&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; elseif ( ($qa_request_lc_parts[0]=='news') &amp;amp;&amp;amp; strlen(@$qa_request_parts[1]) ) {
&lt;br&gt;
	&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; $pass_handle=$qa_request_parts[1]; // effectively a parameter that is passed to file
&lt;br&gt;
	&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; $qa_template='news';
&lt;br&gt;
	&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; $qa_content=require QA_INCLUDE_DIR.'qa-page-news.php';&amp;nbsp;&amp;nbsp; &amp;nbsp;
&lt;br&gt;
	&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/p&gt;


&lt;p&gt;
	That's enough for now to review what have been done. Everything seems to work well when i request http://localhost/qa/index.php?qa=news from browser. Here are the image of my news page:&lt;/p&gt;


&lt;p&gt;
	&lt;img alt=&quot;&quot; src=&quot;http://i54.tinypic.com/2rq23wl.png&quot; style=&quot;width: 731px; height: 900px;&quot;&gt;&lt;/p&gt;


&lt;p&gt;
	But i got problem when I click on Xnews category of the news or comments link o any link on the news page. It is redirected me to home page of question2answer. I guess that I need to change something around&lt;/p&gt;


&lt;blockquote&gt;
	

&lt;p&gt;
		else {
&lt;br&gt;
		&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; $phpselfunescaped=strtr($_SERVER['PHP_SELF'], '+', ' '); // seems necessary, and plus does not work with this scheme
&lt;br&gt;
		&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; $indexpath='/index.php/';
&lt;br&gt;
		&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; $indexpos=strpos($phpselfunescaped, $indexpath);
&lt;br&gt;
		&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
&lt;br&gt;
		&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if (is_numeric($indexpos)) {
&lt;br&gt;
		&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; $qa_used_url_format=QA_URL_FORMAT_INDEX;
&lt;br&gt;
		&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; $requestparts=explode('/', substr($phpselfunescaped, $indexpos+strlen($indexpath)));
&lt;br&gt;
		&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; $relativedepth=1+count($requestparts);
&lt;br&gt;
		&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; $rootpath=substr($phpselfunescaped, 0, $indexpos);
&lt;br&gt;
		&amp;nbsp;&amp;nbsp; &amp;nbsp;
&lt;br&gt;
		&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; } else {
&lt;br&gt;
		&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; $qa_used_url_format=null; // at home page so can't identify path type
&lt;br&gt;
		&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; $requestparts=array();
&lt;br&gt;
		&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }
&lt;br&gt;
		&amp;nbsp;&amp;nbsp; &amp;nbsp;}&lt;/p&gt;
&lt;/blockquote&gt;


&lt;p&gt;
	in qa-index.php. However, I can not point out what i need to change and how. I tried hard someways couple of days, but I am stuck now.&lt;/p&gt;


&lt;p&gt;
	Anybody can give me solution? or any clue?&lt;/p&gt;


&lt;p&gt;
	I appreciate for any help. Thank you so much.&lt;/p&gt;</description>
<category>Q2A Core</category>
<guid isPermaLink="true">https://www.question2answer.org/qa/4774/xpression-news-integration</guid>
<pubDate>Sat, 19 Feb 2011 08:37:42 +0000</pubDate>
</item>
<item>
<title>how to assign category to specific user/group?</title>
<link>https://www.question2answer.org/qa/1845/how-to-assign-category-to-specific-user-group</link>
<description>How would assign one category to a specific group like admins or mods so only they could post in that category, it would be helpful for a type of news system.</description>
<category>Q2A Core</category>
<guid isPermaLink="true">https://www.question2answer.org/qa/1845/how-to-assign-category-to-specific-user-group</guid>
<pubDate>Sat, 10 Jul 2010 17:12:09 +0000</pubDate>
</item>
</channel>
</rss>