I just want to know: Is it still necessary or is it still working for traffic, Today?

Member Avatar
Member Avatar
+1 forum 10

Hi Guys, Hope you are enjoying the summer! I am having some trouble with the code below. It is feeding blog posts from another website and linking them to a website. The code works fine. However I need to change the hyperlink(uri) to another domain. <li><a href="<?php echo $feed[$i]->uri; ?>" target="_blank"> <div class="feed-link image"><img src="<?php echo $feed[$i]->itemimage; ?>" alt="<?php echo $feed[$i]->title; ?>" width="223" height="148"/></div> <div class="feed-link title"><?php echo $feed[$i]->title; ?></div> <?php $content_for_text = JFilterOutput::cleanText($feed[$i]->content); /*$content_for_text = preg_replace('/&.*?;/', '', $content_for_text);*/ $content_for_text = preg_replace('/&/', '', $content_for_text); $content_for_text = preg_replace('/amp;/', '', $content_for_text); $content_for_text = preg_replace('/#.*?;/', '', $content_for_text); $content_for_text = JHtml::_('string.truncate', $content_for_text, 220); ?> …

Member Avatar
+0 forum 0

I just want to know whether the ROR sitemap is still an effective choice for SEO? Because, nowadays no one is using ror sitemap.

Member Avatar
Member Avatar
+0 forum 2

Hey everyone. Im creating a site and im trying to add a second RSS feed, even a third or forth if i can figure out how to do the second one first. The code bellow is in my index.html templeate. Its based off of Feedget. Im not sure how to add a second feed bellow the first one. Lets say the first feed is News, links to news articles, second is Technology, links to tech articles. Is it something in the JS, or the HTML? <div data-role="page" data-theme="c" id="feedget"> <span style="font-size:20px; font-weight:700;">site name:</span> <br /><br /> <div class="feedget" style="overflow:hidden;" data-role="content"></div> …

Member Avatar
Member Avatar
+0 forum 1

Hello. I have one problem with only one text witch shows two times (i want only once) Here is picture: http://i.imgur.com/cfOrBCs.png Maybe the for cycle loops this text and...this is happen. I want to show only once in the middle. Here is code: var matchcount = 4; $.ajax({ type: 'GET', url: 'http://counter-strike.net/jsfeed/gosumatches', dataType: 'json', cache: true, data: { 'count': matchcount }, success: function(data) { var html = ''; for ( c = 0; c < matchcount; c++ ) { m = data[c]; html += '<div class="upcomingmatch">'; html += '<b>'+m.name+'</b>'; html += '<div class="um_time">'+m.time+'</div>'; for ( i = 0; i <= …

Member Avatar
+0 forum 0

Hi, I am new on this all, I want to add RSS Feed to my website. But really i don't know about this anything. As I am on windows 7, The gadget RSS FEED (i look on it) and also view some pages like [THIS](http://windows.microsoft.com/en-us/windows7/Using-RSS-feeds) but the Question is How can I add it to my website so that other can subscribe me with the RSS FEED? Help Me Fast, I am waiting for the answer

Member Avatar
Member Avatar
+0 forum 2

I have an xml file that i am extracing data from and displaying them in the logcat window. Now i need to display them in a textview anyone can help ? package com.example.news_services_week1; import java.io.IOException; import java.net.URL; import org.xmlpull.v1.XmlPullParser; import org.xmlpull.v1.XmlPullParserException; import org.xmlpull.v1.XmlPullParserFactory; import android.net.ConnectivityManager; import android.net.NetworkInfo; import android.os.AsyncTask; import android.os.Bundle; import android.app.Activity; import android.content.Context; import android.content.res.XmlResourceParser; import android.util.Log; import android.view.Menu; import android.widget.TextView; public class SportsActivity extends Activity { public static final String NEWS_SERVER="http://10.0.2.2/sportsNewsFeed.xml"; private SportsTask getFromServer; @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_sports); TextView txt =(TextView)findViewById(R.id.SportText); getFromServer= new SportsTask(); getFromServer.execute(NEWS_SERVER,txt); /* ConnectivityManager ConMgr=(ConnectivityManager) getSystemService(Context.CONNECTIVITY_SERVICE); NetworkInfo netInfo = ConMgr.getNetworkInfo(ConnectivityManager.TYPE_MOBILE); …

Member Avatar
Member Avatar
+0 forum 3

Is there anybody can tell that how to creat RSS feed for Static site(HTML)?

Member Avatar
Member Avatar
+0 forum 6

We are working on magento. but here we have to get product prices from another website using xml feed. actually we are working on jewellery website using magento. we are adding products from backend. but gold prices are ups and down its depends upon market value. so how can i assign price to products. any sugguestions? Thanks

Member Avatar
Member Avatar
+4 forum 16

hey there guys I need a PHP class to fetch news from different sites, I use rssphp.net class and its great if I need the **title** of article and the **short description**, but what I need is the full story somthing like ?type=rss2 in vBulletin forums the main output of this class is as Array ( [title] => مجموعة أميركية صينية مشتركة للحد من القرصنة [link] => http://www.alarabiya.net/ar/technology/2013/04/14/مجموعة-أمريكية-صينية-مشتركة-للحد-من-القرصنة-الإلكترونية-.html [description] => كيري: الهجمات الإلكترونية المتكررة أصبحت من تحديات العصر الحديث [pubDate] => Sun, 14 Apr 2013 08:29:00 +0400 [media:content] => )

Member Avatar
Member Avatar
+0 forum 3

Hello Community, I have been looking for a facebook news feed api, i couldn't find one. All i could find is bits of script for construct my own news feed api. So thats what i did and i thought i might share the script with you it's a bit messy but it works. Here is how t use it: 1. Goto https://www.facebook.com/developers and login. 2. Click "Create New App". ![6ecbba8247b18cca50e467f8ce0063b1](/attachments/small/3/6ecbba8247b18cca50e467f8ce0063b1.png) 3. Enter an app name i've used "NewsFeed" make sure it's valid then leave app namespace blank and web hosting un-ticked then click "Continue". ![6cf853eeb15bfc42f6953659d6a43676](/attachments/large/3/6cf853eeb15bfc42f6953659d6a43676.png "6cf853eeb15bfc42f6953659d6a43676") 4. Then copy and …

Member Avatar
+1 forum 0

im trying to create a email signature, and i want the images inside the signature to be linked to a feed, for example tumblr. where the moment an image is uploaded to it, it is automatically placed inside the email signature. is this possible?

Member Avatar
Member Avatar
+0 forum 1

How would I write a php script that gets article x from an rss feed? Thanks in advance

Member Avatar
Member Avatar
+0 forum 3

I have an xml file that I have to read in, convert all the carriage returns to \x0D and line feeds to \0xA, then call it into a function as a string. So for example my XML file is: <TEST> this is a string </Test> I would want a string that contains "<TEST>\x0D\0xAthis is a string\x0D\x0A</Test>" I've been able to read the XML file with pugiXML but I have not been sucessful in converting it to a string or finding the carriage returns/line feeds. ANy help would be appriciated. Thanks.

Member Avatar
Member Avatar
+0 forum 1

Can any one give me a description of 'shopping feed'. Actually what it means?

Member Avatar
Member Avatar
+0 forum 1

Hi, I'm rather new to php so...I use simplepie to parse rss feed but i want to filter them by keywords i made this code : $feed = new SimplePie(); $feed->set_feed_url(http://website.name/rss); $feed->init(); $feed->set_cache_duration (3600); $feed->set_timeout(30); $feed->handle_content_type(); $countItem = 0; foreach ($feed->get_items() as $item){ $checktitle = $item->get_permalink(); //Regex keyword filter $pattern = '/keyword1|keyword2/'; //If the there is a keyword match, store in $matches array if (preg_match($pattern, $checktitle)) { $news[$countItem]= $item; $countItem++; } } This is the filtering part it does it work but, i want all the items that contains both keywords. I'm not sure that preg_match is the right way …

Member Avatar
Member Avatar
+0 forum 3

[kn3rdmeister.com/feed/](http://kn3rdmeister.com/feed/) I'm going to admit that when I made my website and feed, I was very much copying the styles and structures of [mega64.com](http://mega64.com), especially the way their RSS feed was built. I know that it's made by WordPress, and not Mega64 themselves, but still, it's their feed. I'm a novice at RSS overall. My feed is created using PHP. I tell the document that it's an XML file, and then pull the latest 15 or so posts from my MySQL database. The feed works, but only for the most recent of posts. By the time that the XML file …

Member Avatar
Member Avatar
+0 forum 3

I am trying to create a webpage that grabs the rss feed from http://www.paintballtree.com/rss/videos/newest. I have the code that gets the page and I can access all parts of the items using getElementsByTagName(' element ')[0].firstChild.nodeValue; however, I cannot access `getElementsByTagName(' description ')[0].firstChild.nodeValue;` which is the most important part. It keeps coming up as blank or a text node. I have no idea what I am doing wrong.

Member Avatar
+0 forum 0

Hey everyone, Parsing RSS is not my strong point and I am making a news feed for a client and they want me to use the Yahoo News RSS feed. I am using the following code. <?php $url = "http://news.yahoo.com/rss/europe"; $xml = simplexml_load_file( $url ); ?> <h3 id="ln">Latest News</h3> <?php $newsCount = 0; foreach ( $xml->channel->item as $item ) { ?> <h4><?php echo $item->title; ?></h4> <br /> <?php if( ++$newsCount == 3 ) { break; } } ?> I need to get this part of the feed. <media:content url="http://l.yimg.com/bt/api/res/1.2/hzvrEk_IExvAFn.mR9tetQ--/YXBwaWQ9eW5ld3M7Zmk9ZmlsbDtoPTg2O3E9ODU7dz0xMzA-/http://media.zenfs.com/en_us/News/ap_webfeeds/47cd94137a81a60b0d0f6a70670049cf.jpg" type="image/jpeg" width="130" height="86"/> How do I incorporate this into the above …

Member Avatar
Member Avatar
+0 forum 1

Hi, Pretty new to php so would like some advice on how to insert linefeed to the text area. here is my senario the query: $polQuery = "SELECT * FROM users WHERE user_id='$userid' AND status='active' LIMIT 1"; $polResult = smart_mysql_query($polQuery); $polTotal = mysql_num_rows($polResult); if ($polTotal > 0) { $row = mysql_fetch_array($polResult); } textarea <textarea name="payment_details" cols="40" rows="3" class="inputt2"><?php echo $row['polnum']; ?> <?php echo $row['provider']; ?></textarea> How do I insert carriage return between <?php echo $row['polnum']; ?> <?php echo $row['provider']; ?> ie <?php echo $row['polnum']; ?> Carriage Return Here <?php echo $row['provider']; ?> The test area will then look like: 12345 …

Member Avatar
Member Avatar
+0 forum 2

Dear frnds i am new to this and please help me grow and gain knowledge on asp.net i want to know how to send contact form to gmail i wanted code please do the need full i wanted code in C# asp.net

Member Avatar
Member Avatar
+0 forum 2

Hi there, I am currently developing a Facebook page for a musician, and I'm creating various things that will hopefully see his page spread virally over the coming weeks. 1. First of all, the landing page of the FB page is a form telling people that they can sign up to his mailing list and receive a free download. 2. Once they have completed this form, they will go to a page (within Facebook's iframe) that says Thank You. 3. On this same page I want people to be able to publish a news story to their wall, and also …

Member Avatar
Member Avatar
+0 forum 2

Not all online stores provide RSS feeds to all of their products, so its difficult to keep track of good deals. Do you guys know of any tool that I can use to covert a webpage into RSS feed that can pull up all elements such as title, description, picture, price, etc? I found one free service which works pretty good, but gives a very basic view. check out rssa.at and you will know what I mean.

Member Avatar
+0 forum 0

Hi guys I am trying to create multiple landing pages populated dynamically with data from a feed. My initial thought was to create a generic php page as a template that can be used to create other pages dynamically and populate them with data from a feed. For instance, the generic page could be called landing.php; then populate that page and other pages created on the go with data from a feed depending on an id, keyword or certain string in the url. e.g [url]http://www.example.com/landing.php?page=cars[/url] or [url]http://www.example.com/landing.php?page=bikes[/url] will show contents that are either only about cars or bikes as the …

Member Avatar
Member Avatar
+0 forum 1

Dear visitors, I found a site, they collect jobs from other jobs sites through rss feeds. How to collect records to MySQL database from rss feeds by using Php? . How to develop rss feeds by using Php and how to convert rss feeds into records of MySQL database? I want to develop a similar website of <URL SNIPPED>. If anybody knows, please comment your suggestions. Thanks Leny Jose

Member Avatar
Member Avatar
+0 forum 2

hI..to everyone...i need help form u... I want RSS feed for gold and silver rate , weather report... or sed XML file of those feeds.. please reply

Member Avatar
Member Avatar
+0 forum 1

Hey guys, I was trying to implement a twitter feed script into my website to display my most recent tweet, and it works fine, but the links are broken. Go to [URL="http://sfrederick.com"]http://sfrederick.com[/URL] to see what I mean. Here is the script: [CODE] <? $username = "sfrederick1"; $prefix = "Latest Tweet: "; $suffix = ""; $feed = "http://search.twitter.com/search.atom?q=from:" . $username . "&rpp=1"; function parse_feed($feed) { $stepOne = explode("<content type=\"html\">", $feed); $stepTwo = explode("</content>", $stepOne[1]); $tweet = $stepTwo[0]; $tweet = str_replace("&lt;", "<", $tweet); $tweet = str_replace("&gt;", ">", $tweet); return $tweet; } $twitterFeed = file_get_contents($feed); echo stripslashes($prefix) . parse_feed($twitterFeed) . stripslashes($suffix); ?> [/CODE] …

Member Avatar
Member Avatar
+1 forum 3

Alright, So I am making a website that will have groups of pages, on those pages it will have the ability for a user to paste a Facebook page URL. How would I go about using their API to retrieve that pages news feed? It baffles me that Facebook expects everyone to know how to use it. I am new to this whole API thing and the documentation is not very clear. Any and all help would be appreciated.

Member Avatar
Member Avatar
+0 forum 1

Hey guys, I have a simple problem in javascript that I can't figure out. I am adding a feedburner url into an html page, but need to make it so you can increase the amount of posts you want to see. Ex. The default amount of posts on the page starts at three, but then I would have a button called more where you would click it to view say 3 more, and then if you clicked it again 3 more, ect. This button would have to call a javascript function correct? Right now I have: (I know this is …

Member Avatar
Member Avatar
+0 forum 4

Hii I ts being 2-3 month and one problem i am facing almost all people are facing importing Blog feed into Facebook i know its not working but how to delete previous one i have submitted my previous feed in September 2010 Help me out guys want this to import SNIP

Member Avatar
Member Avatar
-1 forum 1

The End.