1,599 Topics

Member Avatar for
Member Avatar for borobhaisab

Hello, I do not understand why the simplehtmldom is failing. This is the code: <?php ini_set('display_errors',1); ini_set('display_startup_errors',1); error_reporting(E_ALL); //--- include_once('simplehtmldom_1_9_1/simple_html_dom.php'); //--- $url = "https://victoriousseo.com/sitemap_index.xml"; $html = new simple_html_dom(); $html->load_file($url); //-- foreach($html->find("a") as $link) { echo $link->href."< br />"; } ?> I got the simplehtmldom.php on the same directory as the …

Member Avatar for Dani
1
1K
Member Avatar for borobhaisab

Folks, Using DomDocument, I am trying to build a crawler that, when I feed it a starting point url (initial url to start the crawling & link extracting from), it should navigate to the starting url and extract all the links found on the page. ```` <?php $xml = file_get_contents($sitemapUrl); …

Member Avatar for borobhaisab
0
177
Member Avatar for vbala2k5

Hi, i have problem with table conversion from xml to html using xslt. i converted rowspan and colspan in separate row(entry), but if both rowspan and colspan come in single row(entry, colspan and rowspan) is not converting. i have tried so many ways but i didn't get the exact output. …

Member Avatar for asad_34
0
4K
Member Avatar for Yulen

.tar vulnerability https://github.com/dalmat501/https-github.com-dotnet-runtime/pull/1/commits/2c9ef4796667b3a2443c11ea24a96d40199b3606 https://github.com/advisories/GHSA-gw9q-c7gh-j9vm

Member Avatar for rproffitt
-1
73
Member Avatar for borobhaisab

Hi, I get the feeling from this forum that simplehtmldom is old stuff. Nevertheless, experimenting with it since a simple tutorial code depends on it. Check this Xml SItemap Link Extractor include_once('simplehtmldom_1_9_1/simple_html_dom.php'); //Works. //$sitemap = 'https://www.rocktherankings.com/post-sitemap.xml'; //$sitemap = "https://www.rocktherankings.com/sitemap_index.xml"; //Has more xml files. //Does not work. Shows blank page. $sitemap …

Member Avatar for Dani
0
204
Member Avatar for borobhaisab

Hiya, I need to know something. First I thought Sitemap Xml files will list all .html and .hml and .shtm and .shtml files. All pages of the website. But now I see, Sitemap xml files also list other xml files. Check this one out for what I mean: https://www.rocktherankings.com/sitemap_index.xml So …

Member Avatar for Dani
2
901
Member Avatar for borobhaisab

Hello, I am building a searchengine with php. Nearly finished. Now, I need to build the web crawler. Since most websites have xml sitemap for web crawlers to use to find their site links, I prefer to build an xml site map crawler than a general http crawler. I am …

Member Avatar for Dani
0
606
Member Avatar for UWInsure

Hello All, We have designed our system and integrate lots of opensource code into a single use system. All the inter connectivity are through APIs. Problem is, it's getting messy each day. We have been looking into Kong and Apigee. Anyone has experienced into situation like such? We have over …

Member Avatar for Dani
0
58
Member Avatar for Yolie_b

Write a program that prompts the user to input a four - digit positive integer.The program then outputs the digits of the number one digit per line

Member Avatar for rproffitt
1
112
Member Avatar for Clinton_3

I'd like to start learning how to program. I have limited skills in SQL and DOS. I need to learn how to code in a proprietary language that is similar to VB. How do I get started? What's a good code bootcamp recommendation? VB, SQL, C++

Member Avatar for pritaeas
0
50
Member Avatar for jagathg

I am using Kubeflow fairing to train a TensorFlow model on Kubernetes. The training succeeds but now I want to serve a prediction endpoint. How can I retrieve the saved TensorFlow session from the training step so that I can do this? At the moment the result of the training …

0
28
Member Avatar for linglu2022
Member Avatar for tethered_cable

I’m trying to scan in a txt file with a string of numbers. t.txt 123 223 323 <#include stdlib.c> <#include stdio.c> <#include string.h> int main{ char grid[3][3]; int i = 0; File *f = fopen(“t.txt”, “r”) while (i != 3){ for (int j = 0; j < 3; j++){ fscanf(f, …

Member Avatar for rproffitt
0
43
Member Avatar for tethered_cable

I’m trying to scan in a txt file with a string of numbers. t.txt 123 223 323 File *f = fopen(“t.txt”, “r”) while (i != 3){ for (int j = 0; j < 3; j++){ fscanf(f, “%1c”, &grid[i][j]); } i++; } But it prints a segment fault.

Member Avatar for rproffitt
0
25
Member Avatar for himit

I am trying to convert 1 XML into another and want to increment the variable as many times the loop executes. XML Code- [code] <?xml version="1.0" encoding="ISO-8859-1"?> <?xml-stylesheet type="text/xsl" href="test.xsl"?> <catalog> <cd> <title>Empire Burlesque</title> <artist>Bob Dylan</artist> <country>USA</country> <company>Columbia</company> <price>10.90</price> <year>1985</year> </cd> <cd> <title>Hide your heart</title> <artist>Bonnie Tyler</artist> <country>UK</country> <company>CBS Records</company> …

Member Avatar for Balakumar_1
1
15K
Member Avatar for Brandon_30

I'm getting an error I'm very new to vb.net and designing an application with visual studio 2019. My application is to Read the registry key open subkey to retrieve displayname and displayversion. I would like to add an array to read multiple key values under the key locations for both …

Member Avatar for rproffitt
0
820
Member Avatar for Jubed
Member Avatar for Lawrence_13

Please I would like to know how to use the IF/ELSE condition in XML. Examples will be highly appreciated. Thank you Lawrence

Member Avatar for rproffitt
0
41
Member Avatar for Sahib_3
Member Avatar for Griffin_3

nlp = spacy.load("en_core_web_sm") Error found OSError Traceback (most recent call last) <ipython-input-3-8d092272a28e> in <module> ----> 1 nlp = spacy.load("en_core_web_sm") ~\anaconda3\lib\site-packages\spacy\__init__.py in load(name, disable, exclude, config) 45 RETURNS (Language): The loaded nlp object. 46 """ ---> 47 return util.load_model(name, disable=disable, exclude=exclude, config=config) 48 49 ~\anaconda3\lib\site-packages\spacy\util.py in load_model(name, vocab, disable, exclude, config) …

Member Avatar for Dani
0
157
Member Avatar for Aurora51x

|Visual Studio C# Windows Form Application| I'm trying to load and save multiple comboboxes selections to a XML file or file to a specific location using diolog box to know where to save and load. Any help will be appreciated.

Member Avatar for rproffitt
0
157
Member Avatar for ronaktiwari6979

<LEGEND ><b><%=pagetitl%>:-</b></LEGEND> <div id="container"> <div id="dynamic"> <table cellpadding="0" cellspacing="0" border="1" class="display" id="example" style="width:98%;" > <thead > <tr style="background-color:#E6E6FA;border-color:#a7c9de;"> <th style="border-color:#a7c9de;" >File ID</th> <th style="border-color:#a7c9de;" >Title</th> <th style="border-color:#a7c9de;" >Name</th> <th style="border-color:#a7c9de;" >Last Refresh Date/Time</th> <th style="border-color:#a7c9de;" >Refresh Now</th> </tr> </thead> <tbody> </tbody> </table>

0
28
Member Avatar for Ridhima_1
Member Avatar for abdoosh

hello can anybody help me with this issue i have java code to print information that exists in XML file i will paste it here, so i want to print the information based on user input , as example the user enter the Id number then the program should print …

Member Avatar for JamesCherrill
0
140
Member Avatar for pritaeas

I'm looking to build a command-line tool that will enable me to read an arbitrary XML file combined with a mapping to fill an existing (arbitrary) SQLite database with data. What I'm looking for are conceptual ideas on how to solve this. I've got a possible theoretical solution in mind, …

Member Avatar for pritaeas
0
304
Member Avatar for darren2005

Hi, Can anyone advise on why the following code does not replace an XML value? It seems the code does not bring up any known errors as such and when the code completes the settings.XML file is blank. Still learning this stuff so please be gentle : ) Thanks in …

0
142
Member Avatar for hassanumair1

how can i convert xml based script; which is created by SqlYog software. I want to convert this xml based script to batch file (full coding from xml to batch file script; not only batch(.bat) format.) So i can run the synchronization / backup directly clicking with batch file. give …

Member Avatar for jimmichaels29
0
2K
Member Avatar for Joe34

Hey, I'm trying to open a web page inside my newest android app. (I'm following this guide...) [url]http://developer.android.com/reference/android/webkit/WebView.html[/url] My goal with the app is to open up the web page every time it gets opened, but the web pages need to open within the activity. With the code below, it …

Member Avatar for Hasan_11
0
1K
Member Avatar for dongtrien

How do I process the xamarin forms that connect to SQL Server and export data to the listView ? I'm looking for this simple example. What do I find on google ?

Member Avatar for bangalore.webguru
3
23K
Member Avatar for Tsakaki

I'm working on a simple XML/XSLT file that is just meant to display a list of books on a very simple html layout. The files were created to learn XML and XSLT. I have since created two XSLT files that use the same XML. One displays the information in a …

Member Avatar for Reverend Jim
0
1K

The End.