Is wallmart API allows HTML format in product description? - walmart-api

I am using wallmart API to import products from the custom site. I want to display description with the same HTML format in my site. Is wall mart allow HTML format and show as it like my site in the description field?

Yes you can upload product with same description on Walmart but only one restriction on Walmart is that they accept only 4000 characters in description .
if you are using XML format to upload product on Walmart kindly send description concatenate with CDATA .
eg .
I am using php so my code like this
<![CDATA[' .$desciption. ']]>

Related

Twitter api returns truncated description

I am using https://api.twitter.com/1/statuses/user_timeline.rss?screen_name=[username]&include_rts=true&rpp=100
To get the user's tweets, but for some reason most of the tweets' description is truncated, is there any way I can get the complete description
Sadly, the RSS feeds don't contain the full tweets.
If you replace .rss with .xml or .json, then you will get the full text.
https://api.twitter.com/1/statuses/user_timeline.json?screen_name=[username]&include_rts=true&rpp=100
You will then have to transform the JSON or XML into RSS.

Parse list of Short URL's

I have a nice long list of shortened URLs with identifiers, like:
43242 http://t.co/12352
61431 http://t.co/16192
98718 http://t.co/95351
.
Wondering if a utility exists to feed a list of shortened links and have it return the long version?
The full url is available as an entity.
You can get this with the streaming API.
Here is an example for you : Twitter Full URL - Shortened URL

Extract text and categories information of wikipedia articles from its html page

I have fetched a set of wikipedia articles in html format from web. I need to extract the plain text describing the article and categories information to which the article belongs?
If you want to grab categories it is easier to use the API than parse HTML.
The API is documented here: http://en.wikipedia.org/w/api.php

Rails regex to extract Twitpic link/code if present

Provided a url, within a string of text (tweet) such as
"Check out my twitpic http://twitpic.com/1876544594 its awesome"
I need a Rails regex that will return 18744594, the id of this particular twitpic...
This question has been asked here but was for PHP, and I need it for Rails.
I would also be able to pull the name of the site, so the text between http:// and .com "twitpic"
To extract 18744594 only
/http:\/\/twitpic\.com\/(\d+)/
To extract twitpic and 18744594
/http:\/\/(twitpic)\.com\/(\d+)/

Using Yahoo Pipes to makes tweets link to url they contain rather than Twitter

I'm wondering how you can use Yahoo Pipes to get any tweets than contain a url to link to that url when clicked, instead of linking to Twitter.
I made some assumptions.
You want the first URL if there are multiple links in the message
If there is no URL, you will skip the tweet
You only care about http and https links
The flow ends up:
1 Fetch Feed - Use twitter RSS
2 Filter - item.description Matches regex https?://
3 Rename - item.description Copy As link
4 Regex - In item.link replace ^.*?(https?://[\w:##%/;$()~?+-=\.&]+).*$ with $1 (s)
If you want to see all tweets, then the simplest thing is to split the feed at the top and filter the ones with and without URLs and only process the URL ones. Finally you can remerge the feeds before outputting.
If you want more url types, change the https?:// to (https?|ftp|etc):// in step 2 and 4
I made a sample here.

Resources