Menu
Menu
DaniWeb
Log In
Sign Up
Read
Contribute
Meet
Search
Search
About 1,000 results for
strip_tags
- Page 1
Re: Video is not the main content of the page
Digital Media
Digital Marketing
Search Engine Strategies
6 Days Ago
by Dani
You have the itemtype set to a VideoObject but, as you point out, only sometimes is there actually an .mp4 file. The rest of the time, it's a static image such as a png, jpg, or jpeg. Google probably doesn't trust your meta tags since they are inaccurate half the time.
Re: Backlink Indexing issue
Digital Media
Digital Marketing
Search Engine Strategies
1 Day Ago
by Dani
Make sure the backlinks are on pages that are not noindexed (they neither have a meta noindex tag nor a noindex http header), as well as the pages’ URLs not matching any rule on their website’s robots.txt file. Additionally, make sure that the page on your own website the backlink points to doesn’t match a rule on your site’s own robots.txt …
Video is not the main content of the page
Digital Media
Digital Marketing
Search Engine Strategies
1 Week Ago
by Read a Book
Hello everyone, i am not able to fix this issue in the Search Console `Video is not the main content of the page` but actually it is! When you enter in my product page the first thing that appears is the video it self! (hosted on imgur platform) I even added additional Schema video tags but that seems is useless. here is the code i am …
Re: How is Website Framework detected
Programming
Web Development
1 Week Ago
by Dani
You can use a website like [Built With](https://builtwith.com/daniweb.com) if you want to quickly see what frameworks a website that is already in their system is using. However, to figure it out for yourself, it's just a matter of looking at the HTML source code for a webpage and seeing if you can find javascript tags, etc. that are used by the…
Re: Video is not the main content of the page
Digital Media
Digital Marketing
Search Engine Strategies
1 Week Ago
by Read a Book
BUMP. Anyone can help with this issue ? :/
Re: Video is not the main content of the page
Digital Media
Digital Marketing
Search Engine Strategies
1 Week Ago
by Dani
I’ll take a look at this tomorrow. I’m currently in bed :)
Converting PDF Image to CSV Using Multimodal Google Gemini Pro
Programming
Computer Science
2 Months Ago
by usmanmalik57
In this article, you will learn to use [Google Gemini Pro](https://blog.google/technology/ai/google-gemini-ai/), a state-of-the-art multimodal generative model, to extract information from PDF and convert it to CSV files. You will use a simple text prompt to tell Google Gemini Pro about the information you want to extract. This is a valuable skill …
Claude 3 Opus Vs. Google Gemini Vs. GPT-4 for Zero-Shot Text Classification
Programming
Computer Science
1 Month Ago
by usmanmalik57
On March 4, 2024, [Anthropic](https://www.anthropic.com/) launched the [Claude 3 family of large language models](https://www.anthropic.com/news/claude-3-family). Anthropic claimed that its Claude 3 Opus model outperforms GPT-4 on various benchmarks. Intrigued by Anthropic's claim, I performed a simple test to compare the performances of Claude …
PDF Image Table Extractor Web App with Google Gemini Pro and Streamlit
Programming
Computer Science
2 Months Ago
by usmanmalik57
In my previous article, I explained [how to convert PDF image to CSV using Multimodal Google Gemini Pro](https://www.daniweb.com/programming/computer-science/tutorials/541365/converting-pdf-image-to-csv-using-multimodal-google-gemini-pro). To do so, I wrote a Python script that passes text command to [Google Gemino Pro](https://blog.google/…
Extract Tabular Data from PDF Images using Hugging Face Table Transformer
Programming
Computer Science
1 Month Ago
by usmanmalik57
In a previous article, I explained [how to extract tabular data from PDF image documents using Multimodal Google Gemini Pro](https://www.daniweb.com/programming/computer-science/tutorials/541449/pdf-image-table-extractor-web-app-with-google-gemini-pro-and-streamlit#post2296083). However, there are a couple of disadvantages with Google Gemini Pro. …
Re: Extracting values from capturing groups in regex
Programming
Software Development
2 Months Ago
by Tom_45
I'm not getting the results you presented, I'm getting the whole file not just the tr tags. The tr tags I used was just a subset of the entire file.
Re: Extracting values from capturing groups in regex
Programming
Software Development
2 Months Ago
by AndreRet
Your main issue is with the way you're trying to capture the values inside the 'td' tags. Also, you should consider using non-greedy quantifiers - [Minimal or non-greedy quantifiers](Regular expressions are generally considered greedy because an expression with repetitions will attempt to match as many characters as possible. The asterisk (*), plus…
Extracting values from capturing groups in regex
Programming
Software Development
2 Months Ago
by Tom_45
I am trying to extract three values from the td tags in an html downloaded file. <tr align="right"><td>236</td><td>Roy</td><td>Allyson</td> <tr align="right"><td>237</td><td>Marvin</td><td>Pamela</td> <tr align="right"><td…
Extracting values from a regex match
Programming
Software Development
2 Months Ago
by Tom_45
I am trying to extract three values from the td tags in an html downloaded file. <tr align="right"><td>236</td><td>Roy</td><td>Allyson</td> <tr align="right"><td>237</td><td>Marvin</td><td>Pamela</td> <tr align="right"><td…
How to Code a Load More Button?
Digital Media
Digital Marketing
Search Engine Strategies
1 Month Ago
by FarrisFahad
I want to write an SEO load more button that Google crawls and click on. I have read somewhere in the documents that Google will only click on anchor tags with href value. My current website loads content using a button and I have noticed after changing some, not load more, links Google started to index my website. Is there a best practice …
Re: How to get organic traffic in a website?
Digital Media
Digital Marketing
Search Engine Strategies
2 Months Ago
by brandlyglobal
While off-page SEO and SMM are crucial, your decreasing organic traffic suggests a deeper issue. Consider these essential areas for attention: **Content Audit:** Analyze your existing content. Is it high-quality, relevant, and optimized for current search trends? Refresh outdated content, target long-tail keywords, and consider user intent. …
Re: How to get organic traffic in a website?
Digital Media
Digital Marketing
Search Engine Strategies
2 Months Ago
by KomalBhatt
To increase organic traffic to your website, create valuable content regularly, incorporate relevant keywords naturally, and ensure a user-friendly design. Optimize meta tags, descriptions, and images for search engines. Leverage social media to broaden your reach and attract more visitors. These strategies will enhance your site's visibility and …
Re: How to get organic traffic in a website?
Digital Media
Digital Marketing
Search Engine Strategies
2 Months Ago
by simhakidsden
Generating organic traffic for your website requires a combination of strategies aimed at increasing your visibility in search engine results and providing valuable content to your users. Keyword research: Use tools like Google Keyword Planner and other SEO tools to identify keywords that are relevant to your content and industry. On-page…
Re: How to get organic traffic in a website?
Digital Media
Digital Marketing
Search Engine Strategies
2 Months Ago
by KomalBhatt
In addition to off-page SEO and SMM marketing, consider the following strategies: **On-Page SEO Optimization:** Ensure your content is well-optimized for relevant keywords. Improve meta tags, headers, and image alt attributes. Enhance the overall user experience and readability. **Content Quality and Relevance:** Create high-quality, …
Re: How to increase website rank using seo ?
Digital Media
Digital Marketing
2 Months Ago
by bessieexum
To enhance website rank using SEO, prioritize optimizing on-page elements like meta tags, headings, and content with relevant keywords. Optimize user experience by improving site speed, mobile-friendliness, and navigation. Build quality backlinks from reputable websites for increased authority; regularly update content to remain relevant while …
Re: how convert cur images to image?
Programming
Software Development
2 Months Ago
by cambalinho
damn i can't edit.. it's VB2010 and not VB6... but the tags is vb.net... i'm sorry
Re: Extracting values from capturing groups in regex
Programming
Software Development
2 Months Ago
by Reverend Jim
For html = '<tr align="right"><td>236</td><td>Roy</td><td>Allyson</td>' pat = '<td>(.+?)</td>' then re.split(pat,html) returns ['<tr align="right">', '236', '', 'Roy', '', 'Allyson', ''] and re.split(pat,html)[1::2] will …
Re: Extracting values from a regex match
Programming
Software Development
2 Months Ago
by Reverend Jim
The trick is to use lazy matching which matches the shortest possible string. html = '<tr align="right"><td>236</td><td>Roy</td><td>Allyson</td>' pat = '<td>(.+?)</td>' then re.split(pat,html) returns ['<tr align="right">', '236', …
Re: Extracting values from capturing groups in regex
Programming
Software Development
2 Months Ago
by Reverend Jim
Just process the file line by line and apply the regular expression to particular lines. I can't give you an expression that matches only the lines you showed me with a guarantee that in matches nothing else without seeing the entire file.
Re: Extracting values from capturing groups in regex
Programming
Software Development
2 Months Ago
by Reverend Jim
You can either read the entire file into a list, then filter that list, or you could process it line by line and process each matching line. For example (using my file) for line in open('usblog.txt'): if '2024-01-24' in line: print(line) or text = open('usblog.txt').readlines() for line in [x for x in text if…
Re: Extracting values from a regex match
Programming
Software Development
2 Months Ago
by pritaeas
Sidenote: If you want to learn, understand and experiment with regexes I can highly recommend RegexBuddy.
Re: Extracting values from capturing groups in regex
Programming
Software Development
2 Months Ago
by Tom_45
It's a long one, but here it is. <head><title>Popular Baby Names</title> <meta name="dc.language" scheme="ISO639-2" content="eng"> <meta name="dc.creator" content="OACT"> <meta name="lead_content_manager" content="JeffK"&…
Re: Extracting values from capturing groups in regex
Programming
Software Development
2 Months Ago
by Reverend Jim
Try import re pat = '<td>(.+?)</td>' for line in open('yourfile.html'): if line.startswith('<tr align="right"><td>'): print(re.findall(pat,line)) I realized that findall is cleaner than split. You might want to have a look at [this regex online tool](https://www…
Re: Extracting values from a regex match
Programming
Software Development
2 Months Ago
by Reverend Jim
Also [autoregex](https://www.autoregex.xyz/)
Re: Extracting values from a regex match
Programming
Software Development
2 Months Ago
by AndreRet
Same question, different post - [Extracting values from capturing groups in rege](https://www.daniweb.com/programming/software-development/threads/541420/extracting-values-from-capturing-groups-in-regex)
1
2
3
17
Next
Last
Search
Search
Forum Categories
Hardware/Software
Programming
Digital Media
Community Center
Latest Content
Newest Topics
Latest Topics
Latest Posts
Latest Comments
Top Tags
Topics Feed
Social
Meet People
Forums
Top Members
Community Functions
DaniWeb Premium
Newsletter Archive
Markdown Syntax
Community Rules
Developer APIs
Connect API
Forum API Docs
Tools
SEO Backlink Checker
Legal
Terms of Service
Privacy Policy
FAQ
About Us
Advertise
Contact Us
© 2024 DaniWeb® LLC