Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Get unformatted values in SemanticMediaWikiImporter.php #9

Open
jthingelstad opened this issue Jul 30, 2013 · 0 comments
Open

Get unformatted values in SemanticMediaWikiImporter.php #9

jthingelstad opened this issue Jul 30, 2013 · 0 comments

Comments

@jthingelstad
Copy link

Currently when importing numeric data the CSV file gets numbers with comma separators. See last column in this line:

"40% Bran Flakes Cereal, Kellogg's",93,5,0.54,0,0,220,22.15,3.976,5.112,3.58,,"1,599"

I tried simply adding "#-" to the Ask query like so:

-       $askURL .= urlencode( '?' . $propertyName . "\n" );
+       $askURL .= urlencode( '?' . $propertyName . "#-\n" );

However the commas persist.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant