{"id":1279,"date":"2018-03-29T23:42:04","date_gmt":"2018-03-29T20:42:04","guid":{"rendered":"http:\/\/fatihsoysal.com\/blog\/?p=1279"},"modified":"2018-09-14T18:09:13","modified_gmt":"2018-09-14T15:09:13","slug":"php-ile-rss-xml-beslemesi-olusturma-ornek-uygulama","status":"publish","type":"post","link":"https:\/\/fatihsoysal.com\/blog\/php-ile-rss-xml-beslemesi-olusturma-ornek-uygulama\/","title":{"rendered":"PHP ile RSS XML Beslemesi Olu\u015fturma &#8211; \u00d6rnek Uygulama"},"content":{"rendered":"<p>RSS, web sitenizdeki en yeni i\u00e7eriklerin web \u00fczerinde sorunsuz bir \u015fekilde yay\u0131nlanmas\u0131n\u0131 sa\u011flar, bunlar\u0131 ayr\u0131 ayr\u0131 par\u00e7alara ay\u0131rabilir ve RSS arac\u0131l\u0131\u011f\u0131yla istedi\u011finiz mecra ile payla\u015fabilirsiniz. WordPress veya ba\u015fka bir pop\u00fcler CMS kullan\u0131yorsan\u0131z, kendi RSS sisteminizi bu CMS&#8217;ler i\u00e7erisinde haz\u0131r olarak bulabilirsiniz. <a href=\"https:\/\/fatihsoysal.com\/blog\/feed\/\" target=\"_blank\" rel=\"noopener\">Buradaki<\/a> gibi. Ancak \u00f6zel RSS beslemenizi olu\u015fturmak i\u00e7in de PHP&#8217;i kullanabilirsiniz.<\/p>\n<h4>O zaman ba\u015flayal\u0131m.<\/h4>\n<p><!--more--><\/p>\n<p>RSS \u00e7\u0131kt\u0131s\u0131n\u0131 olu\u015fturmak i\u00e7in <strong>PHP DOMDocument<\/strong> s\u0131n\u0131f\u0131n\u0131 kullanaca\u011f\u0131m. \u00c7o\u011fu durumda, kay\u0131tlar\u0131 veritaban\u0131ndan almay\u0131 ve i\u00e7eri\u011fi RSS beslemesine d\u00f6n\u00fc\u015ft\u00fcrmek isteyeceksiniz, bu makalede tam olarak bunu yapaca\u011f\u0131z. Bu arada veritaban\u0131m\u0131z mySQL.<\/p>\n<p>\u00d6rnek bir i\u00e7erik tablosu olu\u015ftural\u0131m, i\u00e7erisine \u00f6rnek veriler ekleyebilirsiniz.<\/p>\n<p>&nbsp;<\/p>\n<pre class=\"lang:default decode:true \">CREATE TABLE IF NOT EXISTS `site_contents` (\r\n  `id` INT(11) NOT NULL AUTO_INCREMENT,\r\n  `title` VARCHAR(60) NOT NULL,\r\n  `content` text NOT NULL,\r\n  `published` TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP,\r\n  PRIMARY KEY (`id`)\r\n);<\/pre>\n<p>Veritaban\u0131 tablomuz haz\u0131r olduktan sonra, <strong>PHP DOMDocument<\/strong> kullanarak XML olu\u015fturma kodumuzu yazabiliriz. \u00d6nce MySQL veritaban\u0131 bilgilerimizi girerek ba\u015fl\u0131yoruz ve ard\u0131ndan belge \u00fcstbilgisi i\u00e7erik t\u00fcr\u00fcn\u00fc XML olarak ayarl\u0131yoruz, b\u00f6ylece taray\u0131c\u0131lar bunu XML belgesi olarak anl\u0131yor ve uygun bir \u015fekilde i\u015fliyorlar.<\/p>\n<p>&nbsp;<\/p>\n<pre class=\"lang:default decode:true \">&lt;?php\r\n$mysql_host = 'localhost'; \/\/host\r\n$mysql_username = 'root'; \/\/username\r\n$mysql_password = ''; \/\/password\r\n$mysql_database = 'test'; \/\/db\r\n\r\nheader('Content-Type: text\/xml; charset=utf-8', true); \r\n?&gt;<\/pre>\n<p>A\u015fa\u011f\u0131daki koddaki ikinci sat\u0131r, yeni bir <strong>DOMDocument<\/strong> nesnesi olu\u015fturur; bu nesne, <strong>createElement<\/strong>, <strong>appendChild<\/strong> vb. Kullanarak XML i\u00e7eri\u011fi olu\u015fturmam\u0131za olanak tan\u0131r.<\/p>\n<pre class=\"lang:default decode:true \">&lt;?php\r\nheader('Content-Type: text\/xml; charset=utf-8', true); \/\/set document header content type to be XML\r\n$xml = new DOMDocument(\"1.0\", \"UTF-8\"); \/\/ Create new DOM document.\r\n\/\/create \"RSS\" element\r\n$rss = $xml-&gt;createElement(\"rss\"); \r\n$rss_node = $xml-&gt;appendChild($rss); \/\/add RSS element to XML node\r\n$rss_node-&gt;setAttribute(\"version\",\"2.0\"); \/\/set RSS version\r\necho $xml-&gt;saveXML();\r\n\r\n\/\/output:\r\n\/\/&lt;?xml version=\"1.0\" encoding=\"UTF-8\"?&gt;\r\n\/\/&lt;rss version=\"2.0\"\/&gt;\r\n?&gt;<\/pre>\n<p>Temel olarak, <strong>createElement ()<\/strong>, <strong>setAttribute ()<\/strong>, <strong>appendChild ()<\/strong> ve <strong>saveXML ()<\/strong> kullanarak XML belgesi olu\u015fturuyoruz. Kula\u011fa \u00e7ok kolay geliyor ama d\u00fc\u011f\u00fcm eklemeye ba\u015flad\u0131\u011f\u0131n\u0131zda biraz karma\u015f\u0131kla\u015f\u0131yor.<br \/>\nWeb siteniz i\u00e7in RSS \u00e7\u0131kt\u0131s\u0131 olu\u015fturan evrimle\u015ftirilmi\u015f \u00f6rne\u011fi a\u015fa\u011f\u0131da payla\u015f\u0131yorum.<\/p>\n<pre class=\"lang:default decode:true \">&lt;?php\r\n$mysql_host = 'localhost'; \/\/host\r\n$mysql_username = 'root'; \/\/username\r\n$mysql_password = ''; \/\/password\r\n$mysql_database = 'test'; \/\/db\r\n\r\nheader('Content-Type: text\/xml; charset=utf-8', true); \/\/set document header content type to be XML\r\n$xml = new DOMDocument(\"1.0\", \"UTF-8\"); \/\/ Create new DOM document.\r\n\r\n\/\/create \"RSS\" element\r\n$rss = $xml-&gt;createElement(\"rss\"); \r\n$rss_node = $xml-&gt;appendChild($rss); \/\/add RSS element to XML node\r\n$rss_node-&gt;setAttribute(\"version\",\"2.0\"); \/\/set RSS version\r\n\r\n\/\/set attributes\r\n$rss_node-&gt;setAttribute(\"xmlns:dc\",\"http:\/\/purl.org\/dc\/elements\/1.1\/\"); \/\/xmlns:dc (info http:\/\/j.mp\/1mHIl8e )\r\n$rss_node-&gt;setAttribute(\"xmlns:content\",\"http:\/\/purl.org\/rss\/1.0\/modules\/content\/\"); \/\/xmlns:content (info http:\/\/j.mp\/1og3n2W)\r\n$rss_node-&gt;setAttribute(\"xmlns:atom\",\"http:\/\/www.w3.org\/2005\/Atom\");\/\/xmlns:atom (http:\/\/j.mp\/1tErCYX )\r\n\r\n\/\/Create RFC822 Date format to comply with RFC822\r\n$date_f = date(\"D, d M Y H:i:s T\", time());\r\n$build_date = gmdate(DATE_RFC2822, strtotime($date_f));\r\n\r\n\/\/create \"channel\" element under \"RSS\" element\r\n$channel = $xml-&gt;createElement(\"channel\");  \r\n$channel_node = $rss_node-&gt;appendChild($channel);\r\n \r\n\/\/a feed should contain an atom:link element (info http:\/\/j.mp\/1nuzqeC)\r\n$channel_atom_link = $xml-&gt;createElement(\"atom:link\");  \r\n$channel_atom_link-&gt;setAttribute(\"href\",\"http:\/\/localhost\"); \/\/url of the feed\r\n$channel_atom_link-&gt;setAttribute(\"rel\",\"self\");\r\n$channel_atom_link-&gt;setAttribute(\"type\",\"application\/rss+xml\");\r\n$channel_node-&gt;appendChild($channel_atom_link); \r\n\r\n\/\/add general elements under \"channel\" node\r\n$channel_node-&gt;appendChild($xml-&gt;createElement(\"title\", \"Sanwebe\")); \/\/title\r\n$channel_node-&gt;appendChild($xml-&gt;createElement(\"description\", \"description line goes here\"));  \/\/description\r\n$channel_node-&gt;appendChild($xml-&gt;createElement(\"link\", \"http:\/\/www.sanwebe.com\")); \/\/website link \r\n$channel_node-&gt;appendChild($xml-&gt;createElement(\"language\", \"en-us\"));  \/\/language\r\n$channel_node-&gt;appendChild($xml-&gt;createElement(\"lastBuildDate\", $build_date));  \/\/last build date\r\n$channel_node-&gt;appendChild($xml-&gt;createElement(\"generator\", \"PHP DOMDocument\")); \/\/generator\r\n\r\n\/\/Fetch records from the database\r\n\/\/connect to MySQL - mysqli(HOST, USERNAME, PASSWORD, DATABASE);\r\n$mysqli = new mysqli($mysql_host, $mysql_username, $mysql_password, $mysql_database);\r\n\r\n\/\/Output any connection error\r\nif ($mysqli-&gt;connect_error) {\r\n    die('Error : ('. $mysqli-&gt;connect_errno .') '. $mysqli-&gt;connect_error);\r\n}\r\n\r\n\/\/MySQL query, we pull records from site_contents table\r\n$results = $mysqli-&gt;query(\"SELECT id, title, content, published FROM site_contents\");\r\n\r\nif($results){ \/\/we have records \r\n    while($row = $results-&gt;fetch_object()) \/\/loop through each row\r\n    {\r\n      $item_node = $channel_node-&gt;appendChild($xml-&gt;createElement(\"item\")); \/\/create a new node called \"item\"\r\n      $title_node = $item_node-&gt;appendChild($xml-&gt;createElement(\"title\", $row-&gt;title)); \/\/Add Title under \"item\"\r\n      $link_node = $item_node-&gt;appendChild($xml-&gt;createElement(\"link\", \"http:\/\/www.your-site.com\/link\/goes\/here\/\")); \/\/add link node under \"item\"\r\n      \r\n      \/\/Unique identifier for the item (GUID)\r\n      $guid_link = $xml-&gt;createElement(\"guid\", \"http:\/\/www.your-site.com\/link\/goes\/here\/\". $row-&gt;id);  \r\n      $guid_link-&gt;setAttribute(\"isPermaLink\",\"false\");\r\n      $guid_node = $item_node-&gt;appendChild($guid_link); \r\n     \r\n      \/\/create \"description\" node under \"item\"\r\n      $description_node = $item_node-&gt;appendChild($xml-&gt;createElement(\"description\"));  \r\n      \r\n      \/\/fill description node with CDATA content\r\n      $description_contents = $xml-&gt;createCDATASection(htmlentities($row-&gt;content));  \r\n      $description_node-&gt;appendChild($description_contents); \r\n    \r\n      \/\/Published date\r\n      $date_rfc = gmdate(DATE_RFC2822, strtotime($row-&gt;published));\r\n      $pub_date = $xml-&gt;createElement(\"pubDate\", $date_rfc);  \r\n      $pub_date_node = $item_node-&gt;appendChild($pub_date); \r\n\r\n    }\r\n}\r\necho $xml-&gt;saveXML();\r\n?&gt;<\/pre>\n<p>Soru, g\u00f6r\u00fc\u015f ve \u00f6nerileriniz i\u00e7in yorum b\u00f6l\u00fcm\u00fcn\u00fc kullanabilirsiniz. Kolayl\u0131klar dilerim.<\/p>\n","protected":false},"excerpt":{"rendered":"RSS, web sitenizdeki en yeni i\u00e7eriklerin web \u00fczerinde sorunsuz bir \u015fekilde yay\u0131nlanmas\u0131n\u0131 sa\u011flar, bunlar\u0131 ayr\u0131 ayr\u0131 par\u00e7alara ay\u0131rabilir&hellip;","protected":false},"author":1,"featured_media":1284,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"csco_page_header_type":"","csco_page_load_nextpost":"","csco_page_subscribe_form":"","csco_page_contact_form":"","footnotes":""},"categories":[133,10],"tags":[652,654,653,655],"class_list":{"0":"post-1279","1":"post","2":"type-post","3":"status-publish","4":"format-standard","5":"has-post-thumbnail","7":"category-php","8":"category-yazilim","9":"tag-php-ile-rss-xml-beslemesi-olusturma-ornek-uygulama","10":"tag-php-instent-article","11":"tag-php-rss-olusturma","12":"tag-php-xml-olusturma","13":"cs-entry","14":"cs-video-wrap"},"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v20.5 (Yoast SEO v25.3.1) - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>PHP ile RSS XML Beslemesi Olu\u015fturma - \u00d6rnek Uygulama - Kodlar\u0131n Gizemli D\u00fcnyas\u0131<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/fatihsoysal.com\/blog\/php-ile-rss-xml-beslemesi-olusturma-ornek-uygulama\/\" \/>\n<meta property=\"og:locale\" content=\"tr_TR\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"PHP ile RSS XML Beslemesi Olu\u015fturma - \u00d6rnek Uygulama\" \/>\n<meta property=\"og:description\" content=\"RSS, web sitenizdeki en yeni i\u00e7eriklerin web \u00fczerinde sorunsuz bir \u015fekilde yay\u0131nlanmas\u0131n\u0131 sa\u011flar, bunlar\u0131 ayr\u0131 ayr\u0131 par\u00e7alara ay\u0131rabilir&hellip;\" \/>\n<meta property=\"og:url\" content=\"https:\/\/fatihsoysal.com\/blog\/php-ile-rss-xml-beslemesi-olusturma-ornek-uygulama\/\" \/>\n<meta property=\"og:site_name\" content=\"Kodlar\u0131n Gizemli D\u00fcnyas\u0131\" \/>\n<meta property=\"article:published_time\" content=\"2018-03-29T20:42:04+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2018-09-14T15:09:13+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/fatihsoysal.com\/blog\/wp-content\/uploads\/2018\/03\/PHP-XML-RSS.png\" \/>\n\t<meta property=\"og:image:width\" content=\"750\" \/>\n\t<meta property=\"og:image:height\" content=\"400\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Fatih Soysal\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Yazan:\" \/>\n\t<meta name=\"twitter:data1\" content=\"Fatih Soysal\" \/>\n\t<meta name=\"twitter:label2\" content=\"Tahmini okuma s\u00fcresi\" \/>\n\t<meta name=\"twitter:data2\" content=\"5 dakika\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/fatihsoysal.com\/blog\/php-ile-rss-xml-beslemesi-olusturma-ornek-uygulama\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/fatihsoysal.com\/blog\/php-ile-rss-xml-beslemesi-olusturma-ornek-uygulama\/\"},\"author\":{\"name\":\"Fatih Soysal\",\"@id\":\"https:\/\/fatihsoysal.com\/blog\/#\/schema\/person\/002a254750921dcfd568a99e48240dd1\"},\"headline\":\"PHP ile RSS XML Beslemesi Olu\u015fturma &#8211; \u00d6rnek Uygulama\",\"datePublished\":\"2018-03-29T20:42:04+00:00\",\"dateModified\":\"2018-09-14T15:09:13+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/fatihsoysal.com\/blog\/php-ile-rss-xml-beslemesi-olusturma-ornek-uygulama\/\"},\"wordCount\":293,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/fatihsoysal.com\/blog\/#\/schema\/person\/002a254750921dcfd568a99e48240dd1\"},\"image\":{\"@id\":\"https:\/\/fatihsoysal.com\/blog\/php-ile-rss-xml-beslemesi-olusturma-ornek-uygulama\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/fatihsoysal.com\/blog\/wp-content\/uploads\/2018\/03\/PHP-XML-RSS.png\",\"keywords\":[\"PHP ile RSS XML Beslemesi Olu\u015fturma - \u00d6rnek Uygulama\",\"php instent article\",\"php rss olu\u015fturma\",\"php xml olu\u015fturma\"],\"articleSection\":[\"PHP\",\"Yaz\u0131l\u0131m\"],\"inLanguage\":\"tr\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/fatihsoysal.com\/blog\/php-ile-rss-xml-beslemesi-olusturma-ornek-uygulama\/#respond\"]}],\"copyrightYear\":\"2018\",\"copyrightHolder\":{\"@id\":\"https:\/\/fatihsoysal.com\/blog\/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/fatihsoysal.com\/blog\/php-ile-rss-xml-beslemesi-olusturma-ornek-uygulama\/\",\"url\":\"https:\/\/fatihsoysal.com\/blog\/php-ile-rss-xml-beslemesi-olusturma-ornek-uygulama\/\",\"name\":\"PHP ile RSS XML Beslemesi Olu\u015fturma - \u00d6rnek Uygulama - Kodlar\u0131n Gizemli D\u00fcnyas\u0131\",\"isPartOf\":{\"@id\":\"https:\/\/fatihsoysal.com\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/fatihsoysal.com\/blog\/php-ile-rss-xml-beslemesi-olusturma-ornek-uygulama\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/fatihsoysal.com\/blog\/php-ile-rss-xml-beslemesi-olusturma-ornek-uygulama\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/fatihsoysal.com\/blog\/wp-content\/uploads\/2018\/03\/PHP-XML-RSS.png\",\"datePublished\":\"2018-03-29T20:42:04+00:00\",\"dateModified\":\"2018-09-14T15:09:13+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/fatihsoysal.com\/blog\/php-ile-rss-xml-beslemesi-olusturma-ornek-uygulama\/#breadcrumb\"},\"inLanguage\":\"tr\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/fatihsoysal.com\/blog\/php-ile-rss-xml-beslemesi-olusturma-ornek-uygulama\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"tr\",\"@id\":\"https:\/\/fatihsoysal.com\/blog\/php-ile-rss-xml-beslemesi-olusturma-ornek-uygulama\/#primaryimage\",\"url\":\"https:\/\/fatihsoysal.com\/blog\/wp-content\/uploads\/2018\/03\/PHP-XML-RSS.png\",\"contentUrl\":\"https:\/\/fatihsoysal.com\/blog\/wp-content\/uploads\/2018\/03\/PHP-XML-RSS.png\",\"width\":750,\"height\":400},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/fatihsoysal.com\/blog\/php-ile-rss-xml-beslemesi-olusturma-ornek-uygulama\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Anasayfa\",\"item\":\"https:\/\/fatihsoysal.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"PHP ile RSS XML Beslemesi Olu\u015fturma &#8211; \u00d6rnek Uygulama\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/fatihsoysal.com\/blog\/#website\",\"url\":\"https:\/\/fatihsoysal.com\/blog\/\",\"name\":\"Fatihsoysal.com\",\"description\":\"Blog - Yaz\u0131l\u0131m D\u00fcnyas\u0131 Tecr\u00fcbelerim\",\"publisher\":{\"@id\":\"https:\/\/fatihsoysal.com\/blog\/#\/schema\/person\/002a254750921dcfd568a99e48240dd1\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/fatihsoysal.com\/blog\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"tr\"},{\"@type\":[\"Person\",\"Organization\"],\"@id\":\"https:\/\/fatihsoysal.com\/blog\/#\/schema\/person\/002a254750921dcfd568a99e48240dd1\",\"name\":\"Fatih Soysal\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"tr\",\"@id\":\"https:\/\/fatihsoysal.com\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/fatihsoysal.com\/blog\/wp-content\/uploads\/2024\/04\/cropped-replicate-prediction-3kgg1hgjn5rgp0cf0p5tr0jw7w-1.png\",\"contentUrl\":\"https:\/\/fatihsoysal.com\/blog\/wp-content\/uploads\/2024\/04\/cropped-replicate-prediction-3kgg1hgjn5rgp0cf0p5tr0jw7w-1.png\",\"width\":512,\"height\":512,\"caption\":\"Fatih Soysal\"},\"logo\":{\"@id\":\"https:\/\/fatihsoysal.com\/blog\/#\/schema\/person\/image\/\"},\"description\":\"Kullan\u0131m ve kodlama m\u00fckemmeliyetini odak alan uygulamalar olu\u015fturma deneyimine sahip, profesyonel olarak 15+ y\u0131l \u00fczeri deneyime sahip bir yaz\u0131l\u0131m m\u00fchendisi.\",\"url\":\"https:\/\/fatihsoysal.com\/blog\/author\/fatihsoysal\/\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"PHP ile RSS XML Beslemesi Olu\u015fturma - \u00d6rnek Uygulama - Kodlar\u0131n Gizemli D\u00fcnyas\u0131","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/fatihsoysal.com\/blog\/php-ile-rss-xml-beslemesi-olusturma-ornek-uygulama\/","og_locale":"tr_TR","og_type":"article","og_title":"PHP ile RSS XML Beslemesi Olu\u015fturma - \u00d6rnek Uygulama","og_description":"RSS, web sitenizdeki en yeni i\u00e7eriklerin web \u00fczerinde sorunsuz bir \u015fekilde yay\u0131nlanmas\u0131n\u0131 sa\u011flar, bunlar\u0131 ayr\u0131 ayr\u0131 par\u00e7alara ay\u0131rabilir&hellip;","og_url":"https:\/\/fatihsoysal.com\/blog\/php-ile-rss-xml-beslemesi-olusturma-ornek-uygulama\/","og_site_name":"Kodlar\u0131n Gizemli D\u00fcnyas\u0131","article_published_time":"2018-03-29T20:42:04+00:00","article_modified_time":"2018-09-14T15:09:13+00:00","og_image":[{"width":750,"height":400,"url":"https:\/\/fatihsoysal.com\/blog\/wp-content\/uploads\/2018\/03\/PHP-XML-RSS.png","type":"image\/png"}],"author":"Fatih Soysal","twitter_card":"summary_large_image","twitter_misc":{"Yazan:":"Fatih Soysal","Tahmini okuma s\u00fcresi":"5 dakika"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/fatihsoysal.com\/blog\/php-ile-rss-xml-beslemesi-olusturma-ornek-uygulama\/#article","isPartOf":{"@id":"https:\/\/fatihsoysal.com\/blog\/php-ile-rss-xml-beslemesi-olusturma-ornek-uygulama\/"},"author":{"name":"Fatih Soysal","@id":"https:\/\/fatihsoysal.com\/blog\/#\/schema\/person\/002a254750921dcfd568a99e48240dd1"},"headline":"PHP ile RSS XML Beslemesi Olu\u015fturma &#8211; \u00d6rnek Uygulama","datePublished":"2018-03-29T20:42:04+00:00","dateModified":"2018-09-14T15:09:13+00:00","mainEntityOfPage":{"@id":"https:\/\/fatihsoysal.com\/blog\/php-ile-rss-xml-beslemesi-olusturma-ornek-uygulama\/"},"wordCount":293,"commentCount":0,"publisher":{"@id":"https:\/\/fatihsoysal.com\/blog\/#\/schema\/person\/002a254750921dcfd568a99e48240dd1"},"image":{"@id":"https:\/\/fatihsoysal.com\/blog\/php-ile-rss-xml-beslemesi-olusturma-ornek-uygulama\/#primaryimage"},"thumbnailUrl":"https:\/\/fatihsoysal.com\/blog\/wp-content\/uploads\/2018\/03\/PHP-XML-RSS.png","keywords":["PHP ile RSS XML Beslemesi Olu\u015fturma - \u00d6rnek Uygulama","php instent article","php rss olu\u015fturma","php xml olu\u015fturma"],"articleSection":["PHP","Yaz\u0131l\u0131m"],"inLanguage":"tr","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/fatihsoysal.com\/blog\/php-ile-rss-xml-beslemesi-olusturma-ornek-uygulama\/#respond"]}],"copyrightYear":"2018","copyrightHolder":{"@id":"https:\/\/fatihsoysal.com\/blog\/#organization"}},{"@type":"WebPage","@id":"https:\/\/fatihsoysal.com\/blog\/php-ile-rss-xml-beslemesi-olusturma-ornek-uygulama\/","url":"https:\/\/fatihsoysal.com\/blog\/php-ile-rss-xml-beslemesi-olusturma-ornek-uygulama\/","name":"PHP ile RSS XML Beslemesi Olu\u015fturma - \u00d6rnek Uygulama - Kodlar\u0131n Gizemli D\u00fcnyas\u0131","isPartOf":{"@id":"https:\/\/fatihsoysal.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/fatihsoysal.com\/blog\/php-ile-rss-xml-beslemesi-olusturma-ornek-uygulama\/#primaryimage"},"image":{"@id":"https:\/\/fatihsoysal.com\/blog\/php-ile-rss-xml-beslemesi-olusturma-ornek-uygulama\/#primaryimage"},"thumbnailUrl":"https:\/\/fatihsoysal.com\/blog\/wp-content\/uploads\/2018\/03\/PHP-XML-RSS.png","datePublished":"2018-03-29T20:42:04+00:00","dateModified":"2018-09-14T15:09:13+00:00","breadcrumb":{"@id":"https:\/\/fatihsoysal.com\/blog\/php-ile-rss-xml-beslemesi-olusturma-ornek-uygulama\/#breadcrumb"},"inLanguage":"tr","potentialAction":[{"@type":"ReadAction","target":["https:\/\/fatihsoysal.com\/blog\/php-ile-rss-xml-beslemesi-olusturma-ornek-uygulama\/"]}]},{"@type":"ImageObject","inLanguage":"tr","@id":"https:\/\/fatihsoysal.com\/blog\/php-ile-rss-xml-beslemesi-olusturma-ornek-uygulama\/#primaryimage","url":"https:\/\/fatihsoysal.com\/blog\/wp-content\/uploads\/2018\/03\/PHP-XML-RSS.png","contentUrl":"https:\/\/fatihsoysal.com\/blog\/wp-content\/uploads\/2018\/03\/PHP-XML-RSS.png","width":750,"height":400},{"@type":"BreadcrumbList","@id":"https:\/\/fatihsoysal.com\/blog\/php-ile-rss-xml-beslemesi-olusturma-ornek-uygulama\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Anasayfa","item":"https:\/\/fatihsoysal.com\/blog\/"},{"@type":"ListItem","position":2,"name":"PHP ile RSS XML Beslemesi Olu\u015fturma &#8211; \u00d6rnek Uygulama"}]},{"@type":"WebSite","@id":"https:\/\/fatihsoysal.com\/blog\/#website","url":"https:\/\/fatihsoysal.com\/blog\/","name":"Fatihsoysal.com","description":"Blog - Yaz\u0131l\u0131m D\u00fcnyas\u0131 Tecr\u00fcbelerim","publisher":{"@id":"https:\/\/fatihsoysal.com\/blog\/#\/schema\/person\/002a254750921dcfd568a99e48240dd1"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/fatihsoysal.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"tr"},{"@type":["Person","Organization"],"@id":"https:\/\/fatihsoysal.com\/blog\/#\/schema\/person\/002a254750921dcfd568a99e48240dd1","name":"Fatih Soysal","image":{"@type":"ImageObject","inLanguage":"tr","@id":"https:\/\/fatihsoysal.com\/blog\/#\/schema\/person\/image\/","url":"https:\/\/fatihsoysal.com\/blog\/wp-content\/uploads\/2024\/04\/cropped-replicate-prediction-3kgg1hgjn5rgp0cf0p5tr0jw7w-1.png","contentUrl":"https:\/\/fatihsoysal.com\/blog\/wp-content\/uploads\/2024\/04\/cropped-replicate-prediction-3kgg1hgjn5rgp0cf0p5tr0jw7w-1.png","width":512,"height":512,"caption":"Fatih Soysal"},"logo":{"@id":"https:\/\/fatihsoysal.com\/blog\/#\/schema\/person\/image\/"},"description":"Kullan\u0131m ve kodlama m\u00fckemmeliyetini odak alan uygulamalar olu\u015fturma deneyimine sahip, profesyonel olarak 15+ y\u0131l \u00fczeri deneyime sahip bir yaz\u0131l\u0131m m\u00fchendisi.","url":"https:\/\/fatihsoysal.com\/blog\/author\/fatihsoysal\/"}]}},"yoast_meta":{"yoast_wpseo_title":"","yoast_wpseo_metadesc":"","yoast_wpseo_canonical":""},"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/fatihsoysal.com\/blog\/wp-json\/wp\/v2\/posts\/1279","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/fatihsoysal.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/fatihsoysal.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/fatihsoysal.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/fatihsoysal.com\/blog\/wp-json\/wp\/v2\/comments?post=1279"}],"version-history":[{"count":2,"href":"https:\/\/fatihsoysal.com\/blog\/wp-json\/wp\/v2\/posts\/1279\/revisions"}],"predecessor-version":[{"id":1897,"href":"https:\/\/fatihsoysal.com\/blog\/wp-json\/wp\/v2\/posts\/1279\/revisions\/1897"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/fatihsoysal.com\/blog\/wp-json\/wp\/v2\/media\/1284"}],"wp:attachment":[{"href":"https:\/\/fatihsoysal.com\/blog\/wp-json\/wp\/v2\/media?parent=1279"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/fatihsoysal.com\/blog\/wp-json\/wp\/v2\/categories?post=1279"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/fatihsoysal.com\/blog\/wp-json\/wp\/v2\/tags?post=1279"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}