Parsing refers to breaking an artifact into its constituent elements and capturing the relationship between those elements. Do not use this tag for questions about the hosted service Parse.com (use [parse.com] instead) or about "parse errors" generated by PHP code (just use [php]).
0
votes
1answer
6 views
Create json object in php foreach loop
I have the following in php:
$follow=explode(" ",$_SESSION['Following']); //create array from the string stored in session variable
foreach($follow as $val) {
$show = $val;
//my query
...
0
votes
0answers
4 views
Parse json object from table via php connected to phpmyadmin
I'm using a json-parser in Xcode to fetch a table from phpmyadmin. The parser gets (or should get) the json-formated document via a php-file uploaded on my ftp-server. The file is successfully parsed ...
0
votes
2answers
25 views
How to save only the german data in my sql table?
I save a lot of data from an xml file into a sql database. Some time ago the structure of the XML file has been changed. Now there is one data record for language "de" and one record for language ...
0
votes
3answers
26 views
PHP convert CSV to specific JSON format
I have a CSV file that looks like:
Name, Id, Address, Place,
John, 12, "12 mark street", "New York",
Jane, 11, "11 bark street", "New York"...
I have about 500 coloumns. I would like to convert ...
1
vote
0answers
8 views
Mime encoded headers with extra '=' (==?utf-8?b?base64string?=)
This might be a silly question but... here it goes!
I wrote my own MIME parser in native C++. It's a nightmare with the encodings! It was stable for the last 3 months or so but recently I noticed ...
-2
votes
0answers
21 views
How to parse HTML files with PHP parser?
I want to configure my nginx webserver to parse HTML documents with the PHP parser. How would I do this?
1
vote
2answers
32 views
Python parse words from URL string
I have a large data set of urls and I need a way to parse words from the urls eg:
realestatesales.com -> {"real","estate","sales"}
I would prefer to do it in python. This seems like it should ...
0
votes
0answers
12 views
Three.js: Uncaught TypeError: Cannot read property 'length' of undefined
var lh_model = {
"metadata" : { "formatVersion" : 3.1, ..., "morphTargets" : 0 },
"vertices": [
0.001000, 0.001000, -0.001000,
102.616974, -61.974983, 19.303007,
...
-1
votes
0answers
11 views
How to parse rss flow (XML) using SAX (StartElement and EndElement) in Android
I am tring to parse a flow with a rssHandler class in my android app.
I have follow this tutorial : http://blog.nerdability.com/2013/03/tech-building-rss-reader-android-app.html
I would like to ...
0
votes
0answers
30 views
simple html dom php script
I have this task to scrape info from a website. I have this code that scrape the title of the company. But the other details are in the javascript that when you click the title the other infos will ...
0
votes
0answers
4 views
How to set default binary parser in Eclipse CDT?
Following those instructions I setup default binary parser to PE Windows parser on my Windows 7 machine, in Eclipse CDT Juno SR2. I am using cross compiler. But every time I create new project, Elf ...
0
votes
0answers
11 views
How can i parse a file and put it in an array in ml
i am new in ml and i have this problem.i have written a function in order to read a file of chars.My code is :
fun parse file =
let
fun readInt input = Option.valOf (TextIO.scanStream (Int.scan ...
0
votes
2answers
23 views
Extra Brackets in Java using Dom Parser
Im trying to use DomParser, to parse a file with output like:
<XGuideWCSResponse xmlns="urn:com:x:presentationflow:spps:services:Xguide" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
...
-3
votes
1answer
37 views
PHP Parse error: syntax error, [closed]
I keep getting the following error when building an array:
PHP Parse error: syntax error, unexpected ';', expecting ')'
for the following code:
$fetchResult=$PubMedClient->run_eFetch(array(
...
0
votes
0answers
20 views
how to change value of text using the xmlworker class
I am using the itext and xmlworker for creating the pdf form xml/html for that i am using code below
public class XmlWorkerEx implements TagProcessor{
public static void main(String[] args) ...